OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
jdate.f
Go to the documentation of this file.
1  subroutine jdate(jd,i,k)
2 c
3 c this routine computes the year and day-of-year corresponding
4 c to a given julian day. this algorithm is designed for the
5 c period 1900 - 2100.
6 c
7 c argument TYPE i/o description
8 c __________________________________________________________
9 c jd i*4 i julian day(reference jan 1, 4713 bc)
10 c i i*4 o year
11 c k i*4 0 day of year
12 c
13 c Program written by: frederick s. patt
14 c general sciences corporation
15 c may 12, 1993
16 
17 c compute days since january 0, 1900
18  l = jd - 2415020
19 
20 c compute years since 1900
21  i = 4*l/1461
22 
23 c compute day-of-year
24  k = l - 1461*(i-1)/4 - 365
25 
26 c add first two digits of year
27  i = i + 1900
28  return
29  end
int jdate(int32_t julian, int32_t *year, int32_t *doy)
Definition: jdate.c:5
Definition: jd.py:1
===========================================================================V5.0.48(Terra) 03/20/2015 Changes shown below are differences from MOD_PR02 V5.0.46(Terra)============================================================================Changes noted for V6.1.20(Terra) below were also instituted for this version.============================================================================V6.1.20(Terra) 03/12/2015 Changes shown below are differences from MOD_PR02 V6.1.18(Terra)============================================================================Changes from v6.1.18 which may affect scientific output:A situation can occur in which a scan which contains sector rotated data has a telemetry value indicating the completeness of the sector rotation. This issue is caused by the timing of the instrument command to perform the sector rotation and the recording of the telemetry point that reports the status of sector rotation. In this case a scan is considered valid by L1B and pass through the calibration - reporting extremely high radiances. Operationally the TEB calibration uses a 40 scan average coefficient, so the 20 scans(one mirror side) after the sector rotation are contaminated with anomalously high radiance values. A similar timing issue appeared before the sector rotation was fixed in V6.1.2. Our analysis indicates the ‘SET_FR_ENC_DELTA’ telemetry correlates well with the sector rotation encoder position. The use of this telemetry point to determine scans that are sector rotated should fix the anomaly occured before and after the sector rotation(usually due to the lunar roll maneuver). The fix related to the sector rotation in V6.1.2 is removed in this version.============================================================================V6.1.18(Terra) 10/01/2014 Changes shown below are differences from MOD_PR02 V6.1.16(Terra)============================================================================Added doi attributes to NRT(Near-Real-Time) product.============================================================================V6.1.16(Terra) 01/27/2014 Changes shown below are differences from MOD_PR02 V6.1.14(Terra)============================================================================Migrate to SDP Toolkit 5.2.17============================================================================V6.1.14(Terra) 06/26/2012 Changes shown below are differences from MOD_PR02 V6.1.12(Terra)============================================================================Added the doi metadata to L1B product============================================================================V6.1.12(Terra) 04/25/2011 Changes shown below are differences from MOD_PR02 V6.1.8(Terra)============================================================================1. The algorithm to calculate uncertainties for reflective solar bands(RSB) is updated. The current uncertainty in L1B code includes 9 terms from prelaunch analysis. The new algorithm regroups them with the new added contributions into 5 terms:u1:the common term(AOI and time independent) and
Definition: HISTORY.txt:126
for(i=0;i< NROOTS;i++) s[i]
Definition: decode_rs.h:85
integer function julian(DAY, MONTH, YEAR)
Definition: julian.f:2
algorithm
Definition: DDProcess.h:25