OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
COMMONS_INC.f
Go to the documentation of this file.
1 !C
2 !C---A series of parameters and arrays for initialization of spectral
3 !C calculation and smoothing routines.
4  INTEGER NP_HI, NP_MED, NP_STD, NH2O_MAX
5 
6  parameter(np_hi=300000) !Number of high resolution spectral points,
7  ! covering 3000 cm-1 to 18,000 cm-1 at
8  ! point spacing of 0.05 cm-1
9 
10  parameter(np_med = 25401) !Number of medium resolution spectral
11  ! points from 0.56 um to 3.1 um at 0.1 nm
12  ! point spacing and 0.2 nm full width at
13  ! half maximum (FWHM)
14 
15  parameter(np_std = 28001) !Number of STANDARD medium resolution spec.
16  ! points from 0.30 um to 3.1 um at 0.1 nm
17  ! point spacing and 0.2 nm full width at
18  ! half maximum (FWHM)
19 
20  parameter(npshif = 2600) !NPSHIF = NP_STD - NP_MED
21 
22  parameter(nh2o_max=60) ! Max Number of column water vapor values in table
23  !REAL WAVNO_HI(NP_HI) !Wavenumber of high resolution data(0.05cm-1)
24  REAL WAVLN_MED(NP_MED) !Wavelength of medium resolution data
25  ! from 0.56 to 3.1 um (0.1 nm point spacing).
26  REAL WAVLN_STD(NP_STD) !Wavelength of medium resolution data
27  ! from 0.3 to 3.1 um (0.1 nm point spacing).
28  !REAL TRAN_HI(NP_HI,NH2O_MAX) !Transmittance of high res. data(.05cm-1) for
29  ! 6 gases (H2O, CO2, N2O, CO, CH4, and O2).
30  !REAL TRAN_MED(NP_MED,NH2O_MAX) !Transmittance of medium resolution data
31  ! from 0.56 to 3.1 um (0.1 nm point spacing).
32  !REAL TRAN_STD(NP_STD,NH2O_MAX) !Transmittance of medium resolution data
33  ! from 0.30 to 3.1 um (0.1 nm point spacing)
34  REAL TRAN_HI_OTHERS(NP_HI) !Transmittance of high res. data(.05cm-1) for
35  ! 5 gases ( CO2, N2O, CO, CH4, and O2).
36  !REAL A(NP_HI) !High resolution absorption data (.05cm-1).
37 
38 ! COMMON /INIT_SPECCAL1/ WAVNO_HI, TRAN_HI, TRAN_HI_OTHERS
39  COMMON /init_speccal1/ tran_hi_others
40 ! COMMON /INIT_SPECCAL12/ WAVLN_MED, TRAN_MED, WAVLN_STD, TRAN_STD
41  COMMON /init_speccal12/ wavln_med, wavln_std
42 
43 
44  REAL VSTART, VEND, DWAVLN !VSTART: Starting wavelength for calculations
45  !VEND: Ending wavelength for calculations
46  !DWAVLN: Interval between wavelengths
47  parameter(vstart = 0.56, vend = 3.1, dwavln = 0.0001)
48 
49 
50  REAL DWVAVR ! ~ 0.01 um = wavelength spacing of AVIRIS data
51 
52  REAL DWAVNO
53  parameter(dwavno = 0.05) !Point spacing of high res. spectra (cm-1).
54 
55  REAL DLT_MED ! 0.2-nm medium resolution spectrum.
56  parameter(dlt_med = 0.0002)
57 
58  REAL FACDLT !Factor to multiply DLT by to determine the
59  parameter(facdlt = 2.0) ! range used in the Gaussian function
60  ! calculation for smoothing spectra.
61 
62  REAL RADEG
63  parameter(radeg=57.29577951) ! degrees per radian
64 
65  INTEGER IH2OLQ !0 - Indicates that liquid water should not
66  parameter(ih2olq = 0) ! be considered in the calculations.
67  !1 - Indicates that liquid water should be
68  ! considered in the calculations.
69  REAL RLQAMT !Amount of "equivalent surface water" in cm,
70  parameter(rlqamt = 0.0) ! not used yet.
71 
72  INTEGER NO3PT !Number of O3 data points
73  parameter(no3pt = 5001)
74 
75  INTEGER NGASTT
76  parameter(ngastt = 7) !Total number of gases
77 
78 
79 !C Programmer's note: CONST2=DLT*SQRT(3.1415926/CONST1) CONST2=total
80 !C area of gaussian curve = DLT*SQRT(pi/(4.0*ln(2)))
81  REAL CONST1
82  parameter(const1 = 2.7725887) ! CONST1=4.0*ln(2)=2.7725887
83 
84  INTEGER INDEX_MED(NP_MED)
85  REAL WAVLN_MED_INDEX(NP_MED), TRAN_MED_INDEX(NP_MED,NH2O_MAX)
86 
87  REAL FINSTR_WAVNO(5000,NP_MED), FWHM_WAVNO(NP_MED)
88  INTEGER NCVHF_WAVNO(NP_MED)
89 
90  COMMON /init_speccal13/ index_med,wavln_med_index,tran_med_index
91  COMMON /init_speccal14/ finstr_wavno, fwhm_wavno, ncvhf_wavno
92 
93 !C
94 !C Arrays for wavelength positions and FWHM of measured imaging spectrometer
95 !C data and for smoothing the medium resolution spectrum (FWHM = 0.2 nm,
96 !C and point spacing = 0.1 nm) to match coarser resolution spectrum
97 !C of imaging spectrometer data
98 
99  parameter(nobs_max=1024, ninstr_max = 3001, filename_max=4096)
100 
101  REAL FINSTR(NINSTR_MAX,NOBS_MAX)
102  INTEGER NCVHF(NOBS_MAX)
103  CHARACTER*4096 DATPATH
104  INTEGER DLN
105 
106  COMMON /init_speccal15/ finstr, ncvhf
107  COMMON /geometry_l2gen/ senzn_l2,senaz_l2,solzn_l2,wtrvpr, &
108  ja_l2,jb_l2,isplitp,f1a,f2a,f1b,f2b
109  COMMON /input_l2gen/ datpath,dln
110 
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