OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
lenstr.f
Go to the documentation of this file.
1  integer*4 function lenstr(string)
2 c
3 c Function lenstr(string)
4 c
5 c purpose: find the string length to the first blank or 0
6 c
7 c calling arguments:
8 c
9 c name Type i/o description
10 c -------- ---- --- -----------
11 c string c*(*) i string to check
12 c lenstr i*4 o length of string to first blank
13 c
14 c by: w. robinson, gsc, 26 mar 93
15 c
16 c notes: any longer descriptions needed
17 c
18 c modification history:
19 c
20  implicit none
21 c
22  character string*(*)
23  integer*4 i
24 c
25 c
26 c loop through and find the first blank or 0
27 c
28  lenstr = len( string )
29  do i = 1, len( string )
30  if( string(i:i) .eq. ' ' .or. string(i:i) .eq. char(0) ) then
31  lenstr = i - 1
32  go to 990
33  end if
34  end do
35  990 return
36  end
integer *4 function lenstr(string)
Definition: lenstr.f:2
@ string
===========================================================================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