Bug 1185 - IDAY is not updated in Card 3A1, which impacts the Earth-Sun distance
Summary: IDAY is not updated in Card 3A1, which impacts the Earth-Sun distance
Alias: None
Product: DIRSIG4
Classification: Unclassified
Component: make_adb (show other bugs)
Version: 4.6.3-release
Hardware: Other Other
: P5 normal
Assignee: Scott D. Brown
Depends on:
Reported: 2015-09-03 08:09 EDT by Scott D. Brown
Modified: 2015-09-03 08:11 EDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Scott D. Brown 2015-09-03 08:09:17 EDT
The IDAY variable in the MODTRAN tape5 file (appears in both Card 3ALT and Card 3A1) serves two purposes: (1) it is used with the time to position the Sun when MODTRAN's built-in ephemeris model is used and (2) it is used to determine the Earth to Sun distance, which impacts the exo-atmospheric irradiance from the Sun.

As part of the modifications made to the template tape5 file, make_adb switches the template tape5 file to always use an explicitly defined solar or lunar geometry (based on the DE405 ephemeris model built-in to DIRSIG itself), which insures that the thermal model (THERM) and MODTRAN are using the exact same position.  That eliminates one of the purposes of using IDAY (the sun position) but not the need to have it for the Earth-Sun distance.  It was observed that the IDAY variable was correctly set for Card 3ALT runs (used for the solar and lunar irradiance) but not for the Card 3A1 runs (path and sky radiance).  For those runs, the IDAY variable was left unchanged from what was in the template tape5 file.
Comment 1 Scott D. Brown 2015-09-03 08:11:16 EDT
The code to update the IDAY variable in Card 3A1 was added.  This change will appear in the 4.7.x release cycle.