Skip to content

Commit 8081e94

Browse files
authored
Merge pull request #1678 from jvgeiger/feature/espc-d_testcase
Add ESPC-D testcase files
2 parents 8ea7b40 + 831c431 commit 8081e94

File tree

5 files changed

+276
-0
lines changed

5 files changed

+276
-0
lines changed

ldt/testcases/ESPC-D/README

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ESPC-D Reader Test Case
2+
3+
This testcase processes Navy Earth System Prediction Capability (ESPC-D) data.
4+
5+
This directory contains:
6+
7+
* this README file.
8+
* the ldt.config file used for this test case. (This file should be
9+
edited to make sure that the locations of the parameter and
10+
forcing files are specified correctly.)
11+
* the input.ctl GrADS descriptor file for viewing the input parameter file.
12+
* the output.ctl GrADS descriptor file for viewing the OUTPUT.
13+
* the testcase.ctl GrADS descriptor file for viewing the TARGET_OUTPUT.
14+
15+
To run this test case:
16+
17+
* Generate the LDT executable.
18+
* Run the LDT executable using the ldt.config file and the sample
19+
input data.

ldt/testcases/ESPC-D/input.ctl

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
dset ^lis_input.global.noah39.nc
2+
dtype netcdf
3+
options template
4+
undef -9999
5+
xdef 2560 linear -179.9297 0.140625
6+
ydef 1920 linear -89.95312 0.09375
7+
zdef 1 linear 1 1
8+
* dummy tdef
9+
tdef 1 linear 00z01dec2024 1hr
10+
vars 96
11+
DOMAINMASK=>DOMAINMASK 1 y,x description
12+
LANDMASK=>LANDMASK 1 y,x description
13+
SURFACETYPE=>SURFACETYPE1 0 0,y,x description
14+
SURFACETYPE=>SURFACETYPE2 0 1,y,x description
15+
SURFACETYPE=>SURFACETYPE3 0 2,y,x description
16+
SURFACETYPE=>SURFACETYPE4 0 3,y,x description
17+
SURFACETYPE=>SURFACETYPE5 0 4,y,x description
18+
SURFACETYPE=>SURFACETYPE6 0 5,y,x description
19+
SURFACETYPE=>SURFACETYPE7 0 6,y,x description
20+
SURFACETYPE=>SURFACETYPE8 0 7,y,x description
21+
SURFACETYPE=>SURFACETYPE9 0 8,y,x description
22+
SURFACETYPE=>SURFACETYPE10 0 9,y,x description
23+
SURFACETYPE=>SURFACETYPE11 0 10,y,x description
24+
SURFACETYPE=>SURFACETYPE12 0 11,y,x description
25+
SURFACETYPE=>SURFACETYPE13 0 12,y,x description
26+
SURFACETYPE=>SURFACETYPE14 0 13,y,x description
27+
SURFACETYPE=>SURFACETYPE15 0 14,y,x description
28+
SURFACETYPE=>SURFACETYPE16 0 15,y,x description
29+
SURFACETYPE=>SURFACETYPE17 0 16,y,x description
30+
SURFACETYPE=>SURFACETYPE18 0 17,y,x description
31+
SURFACETYPE=>SURFACETYPE19 0 18,y,x description
32+
SURFACETYPE=>SURFACETYPE20 0 19,y,x description
33+
SURFACETYPE=>SURFACETYPE21 0 20,y,x description
34+
LANDCOVER=>LANDCOVER1 0 0,y,x description
35+
LANDCOVER=>LANDCOVER2 0 1,y,x description
36+
LANDCOVER=>LANDCOVER3 0 2,y,x description
37+
LANDCOVER=>LANDCOVER4 0 3,y,x description
38+
LANDCOVER=>LANDCOVER5 0 4,y,x description
39+
LANDCOVER=>LANDCOVER6 0 5,y,x description
40+
LANDCOVER=>LANDCOVER7 0 6,y,x description
41+
LANDCOVER=>LANDCOVER8 0 7,y,x description
42+
LANDCOVER=>LANDCOVER9 0 8,y,x description
43+
LANDCOVER=>LANDCOVER10 0 9,y,x description
44+
LANDCOVER=>LANDCOVER11 0 10,y,x description
45+
LANDCOVER=>LANDCOVER12 0 11,y,x description
46+
LANDCOVER=>LANDCOVER13 0 12,y,x description
47+
LANDCOVER=>LANDCOVER14 0 13,y,x description
48+
LANDCOVER=>LANDCOVER15 0 14,y,x description
49+
LANDCOVER=>LANDCOVER16 0 15,y,x description
50+
LANDCOVER=>LANDCOVER17 0 16,y,x description
51+
LANDCOVER=>LANDCOVER18 0 17,y,x description
52+
LANDCOVER=>LANDCOVER19 0 18,y,x description
53+
LANDCOVER=>LANDCOVER20 0 19,y,x description
54+
LANDCOVER=>LANDCOVER21 0 20,y,x description
55+
TEXTURE=>TEXTURE1 0 0,y,x description
56+
TEXTURE=>TEXTURE2 0 1,y,x description
57+
TEXTURE=>TEXTURE3 0 2,y,x description
58+
TEXTURE=>TEXTURE4 0 3,y,x description
59+
TEXTURE=>TEXTURE5 0 4,y,x description
60+
TEXTURE=>TEXTURE6 0 5,y,x description
61+
TEXTURE=>TEXTURE7 0 6,y,x description
62+
TEXTURE=>TEXTURE8 0 7,y,x description
63+
TEXTURE=>TEXTURE9 0 8,y,x description
64+
TEXTURE=>TEXTURE10 0 9,y,x description
65+
TEXTURE=>TEXTURE11 0 10,y,x description
66+
TEXTURE=>TEXTURE12 0 11,y,x description
67+
TEXTURE=>TEXTURE13 0 12,y,x description
68+
TEXTURE=>TEXTURE14 0 13,y,x description
69+
TEXTURE=>TEXTURE15 0 14,y,x description
70+
TEXTURE=>TEXTURE16 0 15,y,x description
71+
ELEVFGRD=>ELEVFGRD 1 y,x description
72+
ELEVATION=>ELEVATION 1 y,x description
73+
SLOPEFGRD=>SLOPEFGRD 1 y,x description
74+
SLOPE=>SLOPE 1 y,x description
75+
ASPECTFGRD=>ASPECTFGRD 1 y,x description
76+
ASPECT=>ASPECT 1 y,x description
77+
GREENNESS=>GREENNESS1 0 0,y,x description
78+
GREENNESS=>GREENNESS2 0 1,y,x description
79+
GREENNESS=>GREENNESS3 0 2,y,x description
80+
GREENNESS=>GREENNESS4 0 3,y,x description
81+
GREENNESS=>GREENNESS5 0 4,y,x description
82+
GREENNESS=>GREENNESS6 0 5,y,x description
83+
GREENNESS=>GREENNESS7 0 6,y,x description
84+
GREENNESS=>GREENNESS8 0 7,y,x description
85+
GREENNESS=>GREENNESS9 0 8,y,x description
86+
GREENNESS=>GREENNESS10 0 9,y,x description
87+
GREENNESS=>GREENNESS11 0 10,y,x description
88+
GREENNESS=>GREENNESS12 0 11,y,x description
89+
SHDMIN=>SHDMIN 1 y,x description
90+
SHDMAX=>SHDMAX 1 y,x description
91+
ALBEDO=>ALBEDO1 0 0,y,x description
92+
ALBEDO=>ALBEDO2 0 1,y,x description
93+
ALBEDO=>ALBEDO3 0 2,y,x description
94+
ALBEDO=>ALBEDO4 0 3,y,x description
95+
ALBEDO=>ALBEDO5 0 4,y,x description
96+
ALBEDO=>ALBEDO6 0 5,y,x description
97+
ALBEDO=>ALBEDO7 0 6,y,x description
98+
ALBEDO=>ALBEDO8 0 7,y,x description
99+
ALBEDO=>ALBEDO9 0 8,y,x description
100+
ALBEDO=>ALBEDO10 0 9,y,x description
101+
ALBEDO=>ALBEDO11 0 10,y,x description
102+
ALBEDO=>ALBEDO12 0 11,y,x description
103+
MXSNALBEDO=>MXSNALBEDO 1 y,x description
104+
TBOT=>TBOT 1 y,x description
105+
lat=>lat 1 y,x description
106+
lon=>lon 1 y,x description
107+
endvars

ldt/testcases/ESPC-D/ldt.config

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
2+
# Overall driver options
3+
LDT running mode: "USAFSI analysis"
4+
Processed LSM parameter filename: lis_input.global.noah39.nc # When using LIS-Noah
5+
LIS number of nests: 1
6+
Number of surface model types: 0
7+
Number of met forcing sources: 0
8+
LDT diagnostic file: ldtlog.2024120100
9+
LDT output directory: LDTOUT
10+
Undefined value: -9999.0
11+
12+
# Rotated GALWEM 10-km domain
13+
Map projection of the LIS domain: latlon
14+
Run domain lower left lat: -89.9531250
15+
Run domain lower left lon: -179.9296875
16+
Run domain upper right lat: 89.9531250
17+
Run domain upper right lon: 179.9296875
18+
Run domain resolution (dx): 0.140625
19+
Run domain resolution (dy): 0.093750
20+
21+
# ------------------------
22+
# Section for USAFSI
23+
24+
# *** Former Environment Variables ***
25+
USAFSI netcdf filename prefix: USAFSI
26+
USAFSI valid date (YYYYMMDDHH): 2024120100
27+
USAFSI fractional snow data directory: ./USAFSIIN/snofrac/
28+
USAFSI modified data directory: ./USAFSIIN/modified/ # not used
29+
USAFSI surface obs data format: 1
30+
USAFSI surface obs data directory: ./USAFSIIN/sfcobs/
31+
# note: options for 2: XCAL GMI and 3: AMSR2 are still in development or test state
32+
USAFSI brightness temperature data option: 1 # 1: SSMIS, 2: XCAL GMI, 3: AMSR2
33+
USAFSI XCAL GMI data directory: ./GMI_retrievals/
34+
USAFSI AMSR2 data directory: ./AMSR2_retrievals/
35+
USAFSI SSMIS data directory: ./SSMIS_retrievals/
36+
USAFSI FNMOC SST GRIB1 data directory: ./USAFSIIN/FNMOC_SST/
37+
USAFSI surface temperature data directory: ./USAFSIIN/sfctmps/
38+
USAFSI static data directory: ./USAFSIIN/static/
39+
USAFSI unmodified data directory: ./USAFSIIN/unmodified/ # not used
40+
USAFSI VIIRS data directory: ./USAFSIIN/viirs
41+
42+
# *** PMW snow depth retrieval algorithm
43+
USAFSI XCAL GMI raw data directory: ./GMI_L1CR_web/
44+
USAFSI AMSR2 raw data directory: ./AMSR2_L1R/
45+
USAFSI SSMIS raw data directory: ./USAFSIIN/OBSI_SSMISUPP/
46+
# note: 4: Kelly, 2009 algorithm only works for XCAL GMI and AMSR2 datasets; under development
47+
USAFSI PMW snow depth retrieval algorithm option: 3 # 1: Hollinger,1991, 2: Chang et al.,1987
48+
# 3:Foster et al.,1997, 4: Kelly, 2009
49+
USAFSI forest fraction file: ./USAFSIIN/static/ForestFraction_0p25deg.nc # for algorithm 3 and 4
50+
USAFSI forest density file: ./MOD44B/PTC_MOD44B_0p25.nc # for algorithm 4
51+
52+
# *** Snow climatology
53+
USAFSI Snow Climatology: 1 # 1: legacy 2: updated 10-km climo
54+
55+
# *** Former Namelist Variables ***
56+
USAFSI decimal fraction adjustment of snow depth towards climo: 0.1
57+
USAFSI default snow depth (m) when actual depth unknown: 0.1
58+
USAFSI minimum snow depth (m) for which to print a diagnostic: 0.025
59+
USAFSI maximum number of surface observations allowed: 200000
60+
USAFSI SSMIS shallow snow depth threshold (m): 0.15
61+
# There should be three latitudes listed below, defining three latitude bands
62+
# for sanity checking snow reports in different seasons.
63+
# Strongly recommend 4000 3000 2000
64+
USAFSI latitudes (deg * 100) for summer climo check: 4000 3000 2000
65+
# There should be four elevations listed below, defining four elevation
66+
# levels for sanity checking snow reports in different seasons.
67+
# Strongly recommend 1000 1500 1000 1000
68+
USAFSI elevations (m) for summer climo check: 1000 1500 1000 1000
69+
USAFSI temperature (deg K * 10) above which no snow is allowed: 2820
70+
USAFSI max reported temperature (deg K * 10) allowed around poles: 3030
71+
USAFSI minimum ice concentration (%) needed to set ice flag: 15
72+
# There should 24 latitudes defined below, each row definining a hemisphere
73+
# (NH first row, SH second row), and each column defining a month
74+
# (J F M A M J J A S O N D). These are used to define "high latitudes"
75+
# in the SSMIS-based sea ice analysis.
76+
USAFSI high latitude thresholds (deg) for sea ice::
77+
81.0 81.0 81.0 81.0 81.0 81.0 81.0 82.0 82.0 82.0 81.0 81.0
78+
90.0 90.0 78.0 78.0 68.0 68.0 67.0 67.0 66.0 66.0 68.0 70.0
79+
::
80+
# There should 24 latitudes defined below, each row definining a hemisphere
81+
# (NH first row, SH second row), and each column defining a month
82+
# (J F M A M J J A S O N D). These are used to define "low latitudes"
83+
# in the SSMIS-based sea ice analysis.
84+
USAFSI low latitude thresholds (deg) for sea ice::
85+
45.0 44.0 44.0 45.0 51.0 52.0 55.0 65.0 65.0 62.0 53.0 50.0
86+
60.0 62.0 62.0 60.0 58.0 56.0 55.0 55.0 53.0 54.0 55.0 57.0
87+
::
88+
USAFSI max age of VIIRS pixels to use: 3
89+
USAFSI min VIIRS fraction to mark point as bare ground: 0.6
90+
USAFSI min VIIRS/CDFS-II fraction to mark point as snow: 0.4
91+
USAFSI use CDFS-II fractional snow data: .true.
92+
USAFSI use VIIRS snow mask: .true.
93+
# Bratseth settings
94+
USAFSI observation error variance (m^2): 0.0006
95+
USAFSI background error variance (m^2): 0.0010
96+
USAFSI background error horizontal correlation length (m): 55555.
97+
USAFSI background error vertical correlation length (m): 800.
98+
USAFSI elevQC difference threshold (m): 400.
99+
USAFSI skewed backQC snow depth threshold (m): 0.4
100+
101+
# Other new settings
102+
USAFSI bogus climatology snow depth value (m): 0.2
103+
USAFSI source of ocean data: "ESPC-D"
104+
USAFSI GOFS SST data directory: ./USAFSIIN/GOFS
105+
USAFSI GOFS CICE data directory: ./USAFSIIN/GOFS
106+
USAFSI ESPC-D SST data directory: ./USAFSIIN/ESPC-D
107+
USAFSI ESPC-D CICE data directory: ./USAFSIIN/ESPC-D
108+
USAFSI LIS GRIB2 data directory: ./USAFSIIN/LIS_T2
109+
USAFSI LIS GRIB2 security class: U
110+
USAFSI LIS GRIB2 data category: C
111+
USAFSI LIS GRIB2 data resolution: C0P09DEG
112+
USAFSI LIS GRIB2 area of data: GLOBAL
113+
114+
USAFSI GALWEM root directory: ./USAFSIIN/GALWEM
115+
USAFSI GALWEM subdirectory: GALWEM
116+
USAFSI GALWEM use timestamp directories: 1
117+
USAFSI GALWEM nominal resolution (km): 17
118+

ldt/testcases/ESPC-D/output.ctl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
dset ^USAFSI_2024120100.nc
2+
dtype netcdf
3+
options template
4+
undef -1
5+
xdef 2560 linear -179.9297 0.140625
6+
ydef 1920 linear -89.95312 0.09375
7+
zdef 1 linear 1 1
8+
* dummy tdef
9+
tdef 1 linear 00z01dec2024 1hr
10+
vars 5
11+
snoanl=>snoanl1 0 0,y,x description
12+
snoage=>snoage1 0 0,y,x description
13+
icecon=>icecon1 0 0,y,x description
14+
icemask=>icemask1 0 0,y,x description
15+
iceage=>iceage1 0 0,y,x description
16+
endvars

ldt/testcases/ESPC-D/testcase.ctl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
dset ^TARGET_OUTPUT/USAFSI_2024120100.nc
2+
dtype netcdf
3+
options template
4+
undef -1
5+
xdef 2560 linear -179.9297 0.140625
6+
ydef 1920 linear -89.95312 0.09375
7+
zdef 1 linear 1 1
8+
* dummy tdef
9+
tdef 1 linear 00z01dec2024 1hr
10+
vars 5
11+
snoanl=>snoanl1 0 0,y,x description
12+
snoage=>snoage1 0 0,y,x description
13+
icecon=>icecon1 0 0,y,x description
14+
icemask=>icemask1 0 0,y,x description
15+
iceage=>iceage1 0 0,y,x description
16+
endvars

0 commit comments

Comments
 (0)