Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ISA Temp deviation display

Featured Replies

Hi all %( 15 (A:Ambient temperature, celsius) - )%!3d!°C% Gets me ISA temp. deviation. I can't get the + and - sign to show correctly. +13 I get 2 should get -2 +20 I get -5 should get +5 and If you use %!+3d! it just reverses the + and - sign. How can it be done.

Paul EGLD

Hi,May be:%(15 (A:Ambient air temperature,celsius) -)%!+5d!

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Paul,When (A:Ambient temperature, celsius) is 13, you get 2 and you think you should get -2? Well, then I think RPN wins...:-)(15 13 -) equals 2 positive(15 20 -) equals 5 negative (-5)Unless I missed something.Tom

  • Author

Jan,Tom I got a way to do it using L:vars:- %((L:ISAtemp,number) 15 >)%{if}%-%((L:ISAtemp,number))%!3d!°C%{else}%+%((L:ISAtemp,number))%!3d!°C%{end} But I still get a minus before the number showing the positive Temp. Is there a way to remove this.

Paul EGLD

Hi,A Question:If Temperature = 20 CISA = 15 CWhat must ISA DEV show in your example,+5 or -5 ?If +5 you could try:%(15 (A:Ambient air temperature,celsius) -)%!+5d!

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Moderator

I should think that "deviation" is most properly expressed as an unsigned value, since it represents the difference between two temperatures, i.e., an "absolute value." ;)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Hi Jan I tried that and other things and it seems once you go under the 15 you get the minus sign. To explain more +15 degrees C is the temp for International Standard Atmosphere at sea level. They use it for working out aircraft performance and other stuff. So if the real temp is +10 deg C the ISA temp is -5 deg C. You can see the problem already you have a + temp to change to a -. If the real temp was +30 deg C the ISA is +15 so thats the problem.

Paul EGLD

>>...So if the real temp is>+10 deg C the ISA temp is -5 deg C. You can see the problem>already you have a + temp to change to a -. If the real temp>was +30 deg C the ISA is +15 so thats the problem.>>> Then why don't you make a simple rest??%((A:Ambient Temperature,celsius)) 15 -)%3d%For example, if Ambient temp is 10, you will get a -5 ISA value. Now, if it is 20, you will get ISA 5 but no plus "+" sign, though it would be easy to add it within the string.Tom

  • Author

Hi Tom Well I missed that real good! %((A:Ambient temperature,celsius) 16 >= )%{if}%+%{end}%((A:Ambient temperature,celsius) 15 - )%!3d!%°C%{end} Works OK Thanks to you both. Paul

Paul EGLD

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.