Skip to content

Commit 30645f5

Browse files
Add new workflows that leverage enroot+pyxis
1 parent d834889 commit 30645f5

36 files changed

Lines changed: 277 additions & 423 deletions

.github/workflows/docker-publish.yml

100644100755
File mode changed.

Dockerfile

100644100755
File mode changed.

simulations/glorysv12-curvilinear/code/EXF_OPTIONS.h

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CEOP
1212

1313
#ifndef EXF_OPTIONS_H
1414
#define EXF_OPTIONS_H
15+
#endif
1516
#include "PACKAGES_CONFIG.h"
1617
#include "CPP_OPTIONS.h"
1718

simulations/glorysv12-curvilinear/input/data

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,14 @@
4343
nIter0=0,
4444
baseTime=0.0,
4545
# End at end of day 365
46-
# endTime=31536000.0,
47-
endTime=120.0
46+
endTime=31536000.0,
4847
deltaT=120.0,
4948
abEps=0.01,
5049
pChkptFreq=31536000.0,
5150
chkptFreq=3153600.0,
5251
dumpFreq=120.0,
5352
monitorSelect=2,
54-
monitorFreq=120.0,
55-
# monitorFreq=3600.0,
56-
periodicExternalForcing=.FALSE.,
53+
monitorFreq=3600.0,
5754
# Daily forced
5855
# externForcingPeriod=86400.0,
5956
# 365 day year

simulations/glorysv12-curvilinear/input/data.cal

100644100755
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
&CAL_NML
22
TheCalendar = 'gregorian',
33
calendarDumps = .TRUE.,
4-
startDate_1 = 20020601,
4+
startDate_1 = 20020701,
55
startDate_2 = 000000,
6-
# TODO : Update end date for simulation
7-
endDate_1 = 20101231,
8-
endDate_2 = 235959,
96
/
107

simulations/glorysv12-curvilinear/input/data.cheapaml

100644100755
File mode changed.

simulations/glorysv12-curvilinear/input/data.exf

100644100755
Lines changed: 100 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! -----------------------------------------------------------------------------
2-
! data.exf -- example for ERA-Interim 6h, 0.75deg, and a curvilinear model grid
2+
! data.exf -- example for ERA-Interim 3h, 0.25deg, and a curvilinear model grid
33
! Edit file names, dates, periods, and the lon/lat metadata to match your files.
44
! -----------------------------------------------------------------------------
55

@@ -25,111 +25,116 @@
2525

2626
&EXF_NML_02
2727
! --- filenames, startdates and periods (seconds) ---
28+
2829
! Wind components (10 m)
29-
uwindfile = 'uwind.bin',
30-
uwindstartdate1 = 20020701,
31-
uwindstartdate2 = 000000,
32-
uwindperiod = 10800.0, ! 3 hours
33-
uwind_lon0 = -90.0
34-
uwind_lon_inc = 0.25
35-
uwind_lat0 = 20.0
36-
uwind_lat_inc = 0.25
37-
uwind_nlon = 321
38-
uwind_nlat = 161
39-
40-
vwindfile = 'vwind.bin',
41-
vwindstartdate1 = 20020701,
42-
vwindstartdate2 = 000000,
43-
vwindperiod = 10800.0,
44-
vwind_lon0 = -90.0
45-
vwind_lon_inc = 0.25
46-
vwind_lat0 = 20.0
47-
vwind_lat_inc = 0.25
48-
vwind_nlon = 321
49-
vwind_nlat = 161
30+
uwindfile = 'uwind.bin',
31+
uwindstartdate1 = 20020701,
32+
uwindstartdate2 = 000000,
33+
uwindperiod = 10800.0,
34+
35+
vwindfile = 'vwind.bin',
36+
vwindstartdate1 = 20020701,
37+
vwindstartdate2 = 000000,
38+
vwindperiod = 10800.0,
5039

5140
! 2-m air temperature (K)
52-
atempfile = 'atemp.bin',
53-
atempstartdate1 = 20020701,
54-
atempstartdate2 = 000000,
55-
atempperiod = 10800.0,
56-
atemp_lon0 = -90.0
57-
atemp_lon_inc = 0.25
58-
atemp_lat0 = 20.0
59-
atemp_lat_inc = 0.25
60-
atemp_nlon = 321
61-
atemp_nlat = 161
41+
atempfile = 'atemp.bin',
42+
atempstartdate1 = 20020701,
43+
atempstartdate2 = 000000,
44+
atempperiod = 10800.0,
6245

6346
! 2-m specific humidity (kg/kg)
64-
aqhfile = 'aqh.bin',
65-
aqhstartdate1 = 20020701,
66-
aqhstartdate2 = 000000,
67-
aqhperiod = 10800.0,
68-
aqh_lon0 = -90.0
69-
aqh_lon_inc = 0.25
70-
aqh_lat0 = 20.0
71-
aqh_lat_inc = 0.25
72-
aqh_nlon = 321
73-
aqh_nlat = 161
74-
75-
! shortwave radiation
76-
swdownfile = 'swdown.bin',
77-
swdownstartdate1= 20020701,
78-
swdownstartdate2= 000000,
79-
swdownperiod = 10800.0,
80-
swdown_lon0 = -90.0
81-
swdown_lon_inc = 0.25
82-
swdown_lat0 = 20.0
83-
swdown_lat_inc = 0.25
84-
swdown_nlon = 321
85-
swdown_nlat = 161
47+
aqhfile = 'aqh.bin',
48+
aqhstartdate1 = 20020701,
49+
aqhstartdate2 = 000000,
50+
aqhperiod = 10800.0,
51+
52+
! Shortwave radiation
53+
swdownfile = 'swdown.bin',
54+
swdownstartdate1 = 20020701,
55+
swdownstartdate2 = 000000,
56+
swdownperiod = 10800.0,
8657

8758
! Longwave radiation
88-
lwdownfile = 'lwdown.bin',
89-
lwdownstartdate1= 20020701,
90-
lwdownstartdate2= 000000,
91-
lwdownperiod = 10800.0,
92-
lwdown_lon0 = -90.0
93-
lwdown_lon_inc = 0.25
94-
lwdown_lat0 = 20.0
95-
lwdown_lat_inc = 0.25
96-
lwdown_nlon = 321
97-
lwdown_nlat = 161
59+
lwdownfile = 'lwdown.bin',
60+
lwdownstartdate1 = 20020701,
61+
lwdownstartdate2 = 000000,
62+
lwdownperiod = 10800.0,
9863

9964
! Precipitation
100-
precipfile = 'precip.bin',
101-
precipstartdate1= 20020701,
102-
precipstartdate2= 000000,
103-
precipperiod = 10800.0,
104-
precip_lon0 = -90.0
105-
precip_lon_inc = 0.25
106-
precip_lat0 = 20.0
107-
precip_lat_inc = 0.25
108-
precip_nlon = 321
109-
precip_nlat = 161
65+
precipfile = 'precip.bin',
66+
precipstartdate1 = 20020701,
67+
precipstartdate2 = 000000,
68+
precipperiod = 10800.0,
11069

11170
! Evaporation
112-
evapfile = 'evap.bin',
113-
evapstartdate1= 20020701,
114-
evapstartdate2= 000000,
115-
evapperiod = 10800.0,
116-
evap_lon0 = -90.0
117-
evap_lon_inc = 0.25
118-
evap_lat0 = 20.0
119-
evap_lat_inc = 0.25
120-
evap_nlon = 321
121-
evap_nlat = 161
71+
evapfile = 'evap.bin',
72+
evapstartdate1 = 20020701,
73+
evapstartdate2 = 000000,
74+
evapperiod = 10800.0,
12275

12376
! Runoff
124-
runofffile = 'runoff.bin',
125-
runoffstartdate1= 20020701,
126-
runoffstartdate2= 000000,
127-
runoffperiod = 10800.0,
128-
runoff_lon0 = -90.0
129-
runoff_lon_inc = 0.25
130-
runoff_lat0 = 20.0
131-
runoff_lat_inc = 0.25
132-
runoff_nlon = 321
133-
runoff_nlat = 161
77+
!runofffile = 'runoff.bin',
78+
!runoffstartdate1 = 20020701,
79+
!runoffstartdate2 = 000000,
80+
!runoffperiod = 10800.0,
81+
/
82+
83+
&EXF_NML_03
84+
! climatological relaxation fields (climsst, climsss, etc.) -- unused here
85+
/
86+
87+
&EXF_NML_04
88+
! --- input grid metadata for EXF interpolation (requires ALLOW_EXF_INTERPOLATION) ---
89+
90+
uwind_lon0 = -90.0, uwind_lon_inc = 0.25,
91+
uwind_lat0 = 20.0, uwind_lat_inc = 0.25,
92+
uwind_nlon = 321, uwind_nlat = 161,
93+
94+
vwind_lon0 = -90.0, vwind_lon_inc = 0.25,
95+
vwind_lat0 = 20.0, vwind_lat_inc = 0.25,
96+
vwind_nlon = 321, vwind_nlat = 161,
97+
98+
atemp_lon0 = -90.0, atemp_lon_inc = 0.25,
99+
atemp_lat0 = 20.0, atemp_lat_inc = 0.25,
100+
atemp_nlon = 321, atemp_nlat = 161,
101+
102+
aqh_lon0 = -90.0, aqh_lon_inc = 0.25,
103+
aqh_lat0 = 20.0, aqh_lat_inc = 0.25,
104+
aqh_nlon = 321, aqh_nlat = 161,
105+
106+
swdown_lon0 = -90.0, swdown_lon_inc = 0.25,
107+
swdown_lat0 = 20.0, swdown_lat_inc = 0.25,
108+
swdown_nlon = 321, swdown_nlat = 161,
109+
110+
lwdown_lon0 = -90.0, lwdown_lon_inc = 0.25,
111+
lwdown_lat0 = 20.0, lwdown_lat_inc = 0.25,
112+
lwdown_nlon = 321, lwdown_nlat = 161,
113+
114+
precip_lon0 = -90.0, precip_lon_inc = 0.25,
115+
precip_lat0 = 20.0, precip_lat_inc = 0.25,
116+
precip_nlon = 321, precip_nlat = 161,
117+
118+
evap_lon0 = -90.0, evap_lon_inc = 0.25,
119+
evap_lat0 = 20.0, evap_lat_inc = 0.25,
120+
evap_nlon = 321, evap_nlat = 161,
121+
122+
runoff_lon0 = -90.0, runoff_lon_inc = 0.25,
123+
runoff_lat0 = 20.0, runoff_lat_inc = 0.25,
124+
runoff_nlon = 321, runoff_nlat = 161,
125+
/
126+
&EXF_NML_OBCS
127+
useOBCSYearlyFields = .FALSE.,
128+
129+
obcsNstartdate1 = 20020701, obcsNstartdate2 = 000000,
130+
obcsNperiod = 86400.0, obcsNrepCycle = 0.0,
131+
132+
obcsSstartdate1 = 20020701, obcsSstartdate2 = 000000,
133+
obcsSperiod = 86400.0, obcsSrepCycle = 0.0,
134+
135+
obcsEstartdate1 = 20020701, obcsEstartdate2 = 000000,
136+
obcsEperiod = 86400.0, obcsErepCycle = 0.0,
137+
138+
obcsWstartdate1 = 20020701, obcsWstartdate2 = 000000,
139+
obcsWperiod = 86400.0, obcsWrepCycle = 0.0,
134140
/
135-

simulations/glorysv12-curvilinear/input/data.mnc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
# mnc_indir_str='start/',
55
mnc_use_outdir=.TRUE.,
66
mnc_outdir_str='mnc_',
7-
mnc_outdir_date=.FALSE.,
7+
mnc_outdir_date=.TRUE.,
88
monitor_mnc=.FALSE.,
99
# snapshot_mnc=.FALSE.,
1010
# timeave_mnc=.TRUE.,
1111
pickup_write_mnc=.FALSE.,
1212
pickup_read_mnc=.FALSE.,
13-
mnc_filefreq=2635200.0,
14-
# mnc_filefreq=31622400.0,
13+
mnc_filefreq=86400.0,
1514
&end
1615

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Open-boundaries
2+
&OBCS_PARM01
3+
OB_Iwest=424*1,
4+
OB_Ieast=424*-1,
5+
OB_Jsouth=768*1,
6+
OB_Jnorth=768*-1,
7+
OBCS_monitorFreq=7200.0,
8+
useOBCSsponge=.TRUE.,
9+
useOBCSprescribe=.TRUE.,
10+
useOBCSbalance=.TRUE.,
11+
OBCS_balanceFacE=1.0,
12+
OBCS_balanceFacS=1.0,
13+
OBCS_balanceFacN=1.0,
14+
OBNtFile='T.north.bin',
15+
OBNsFile='S.north.bin',
16+
OBNuFile='U.north.bin',
17+
OBNvFile='V.north.bin',
18+
OBStFile='T.south.bin',
19+
OBSsFile='S.south.bin',
20+
OBSuFile='U.south.bin',
21+
OBSvFile='V.south.bin',
22+
OBEtFile='T.east.bin',
23+
OBEsFile='S.east.bin',
24+
OBEuFile='U.east.bin',
25+
OBEvFile='V.east.bin',
26+
OBWtFile='T.west.bin',
27+
OBWsFile='S.west.bin',
28+
OBWuFile='U.west.bin',
29+
OBWvFile='V.west.bin',
30+
&end
31+
# Orlanski parameters
32+
&OBCS_PARM02
33+
&end
34+
# Sponge-layer parameters
35+
&OBCS_PARM03
36+
spongeThickness=8,
37+
Urelaxobcsinner=1800.0,
38+
Urelaxobcsbound=600.0,
39+
Vrelaxobcsinner=1800.0,
40+
Vrelaxobcsbound=600.0,
41+
&end
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Packages
22
&PACKAGES
3-
useOBCS=.FALSE.,
4-
useKPP=.FALSE.,
3+
useOBCS=.TRUE.,
4+
useKPP=.TRUE.,
55
useCHEAPAML=.FALSE.,
6-
useMNC=.FALSE.,
6+
useMNC=.TRUE.,
77
useDIAGNOSTICS=.FALSE.,
8+
useCAL=.TRUE.,
9+
useEXF=.TRUE,
810
&end

0 commit comments

Comments
 (0)