OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
MODIS_SMF_SETDYNAMICMSG_V2.1.f
Go to the documentation of this file.
1  SUBROUTINE modis_smf_setdynamicmsg(CODE,STRING_USER,FUNC_NAME)
2  IMPLICIT NONE
3 
4 c -----------------------------------------------------------------------
5 c !F77
6 c
7 c !DESCRIPTION:
8 c
9 c writes a message string to the logstatus file. the
10 c complete message consists of three pieces: a predefined modis
11 c or sdptk status message; a dynamic message segment(string_user)
12 c passed by the calling program; and the name of the FUNCTION or
13 c SUBROUTINE that calls modis_smf_setdynamicmsg.
14 c
15 c !INPUT PARAMETERS:
16 c
17 c INTEGER CODE - A NAMED CONSTANT RELATED TO A PREDEFINED MODIS
18 c or sdp tk message string
19 c CHARACTER STRING_USER - A DYNAMIC MESSAGE STRING DEFINED BY
20 c calling PROGRAM
21 c CHARACTER FUNC_NAME - NAME OF MODULE REPORTING MESSAGE
22 c
23 c !OUTPUT PARAMETERS: NONE
24 c
25 c !REVISION HISTORY:
26 c
27 c !TEAM-UNIQUE HEADER:
28 c
29 c this software was developed by the modis science DATA support
30 c team for the national aeronautics and space administration,
31 c goddard space flight center, under contract nas5-32373.
32 c
33 c !REFERENCES AND CREDITS:
34 c
35 c written by vicky lin
36 c
37 c research and DATA systems corporation
38 c saic/gsc modis science DATA support office
39 c 7501 forbes blvd, seabrook md 20706
40 c
41 c vlin@ltpmail.gsfc.nasa.gov
42 c
43 c !DESIGN NOTES:
44 c
45 c predefined messages with a fatal status level(i.e _f_)
46 c cause PROGRAM to EXIT via a fortran EXIT statement.
47 c
48 c nonsuccessful completion of embedded SUBROUTINE call also
49 c cause PROGRAM to abort via a fortran EXIT statement.
50 c
51 c externals:
52 c
53 c named constants:
54 c modis_f_generic(pgs_modis_39500.f)
55 c pgs_s_success(pgs_smf.f)
56 c pgs_true(pgs_smf.f)
57 c
58 c functions and subroutines:
59 c string_loc
60 c concatenate
61 c pgs_smf_setdynamicmsg(libpgstk.a)
62 c pgs_smf_getmsgbycode(libpgstk.a)
63 c pgs_smf_testfatallevel(libpgstk.a)
64 c
65 c !END
66 c -----------------------------------------------------------------------
67 
68 c sdp toolkit header file
69 
70 c include 'PGS_SMF.f'
71 c include 'PGS_MODIS_39500.f'
72 
73 c PARAMETER declarations
74  integer PGS_SMF_MAX_MSGBUF_SIZE
75  parameter( pgs_smf_max_msgbuf_size = 480)
76 
77  CHARACTER*(*) FUNCNAME
78  parameter(funcname = 'MODIS_SMF_SETDYNAMICMSG')
79 
80  INTEGER USER_MAX_BUF_LEN
81  parameter(user_max_buf_len = 4096)
82 
83 
84 c declaration of variables
85  CHARACTER*(*) STRING_USER
86  CHARACTER*(*) FUNC_NAME
87  CHARACTER*25 MSG25
88  CHARACTER*512 MSG
89 c CHARACTER*(USER_MAX_BUF_LEN) BUF
90 
91  INTEGER RTN,RETURNSTATUS, RETURNSTATUS2
92  INTEGER FBYTE,LBYTE,CODE
93 
94 c FUNCTION declarations
95 c INTEGER STRING_LOC
96 c INTEGER PGS_SMF_SETDYNAMICMSG
97 c INTEGER PGS_SMF_GETMSGBYCODE
98 c INTEGER PGS_SMF_TESTFATALLEVEL
99 
100 c initialize variables
101 c buf = ' '
102  msg = ' '
103  returnstatus = 0
104  returnstatus2 = 0
105 
106 c get predefined message from seed file based on ASSOCIATED named
107 c constant. IF unable to get predefined message, report problem
108 c to logstatus file and exit.
109 
110 
111 c concatenate user message with nmemonic message.
112 
113 c CALL concatenate(msg,string_user,buf)
114 
115 
116 c WRITE message to logstatus file.
117 
118  print*, code,trim(msg), " ", trim(string_user), " ", trim(func_name)
119 
120 
121 c test for fatal error.
122 
123 
124  RETURN
125  END
126 
void initialize(int pixref_flag, int blkref_flag)
Definition: Usds.c:1371
Definition: spline.h:41
@ string
subroutine modis_smf_setdynamicmsg(CODE, STRING_USER, FUNC_NAME)
README for MOD_PR03(V6.1.0) 2. POINTS OF CONTACT it can be either SDP Toolkit or MODIS Packet for Terra input files The orbit validation configuration parameter(LUN 600281) must be either "TRUE" or "FALSE". It needs to be "FALSE" when running in Near Real Time mode
===========================================================================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
string & trim(string &s, const string &delimiters)
Definition: EnvsatUtil.cpp:29
#define f
Definition: l1_czcs_hdf.c:702
for(i=0;i< NROOTS;i++) s[i]
Definition: decode_rs.h:85
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that and then aggregated up to Resolved feature request Bug by adding three new int8 SDSs for each high resolution offsets between the high resolution geolocation and a bi linear interpolation extrapolation of the positions This can be used to reconstruct the high resolution geolocation Resolved Bug by delaying cumulation of gflags until after validation of derived products Resolved Bug by setting Latitude and Longitude to the correct fill resolving to support Near Real Time because they may be unnecessary if use of entrained ephemeris and attitude data is turned on(as it will be in Near-Real-Time processing).
Definition: __init__.py:1