-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfig.yml
213 lines (177 loc) · 6.45 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
## IMI configuration file
## Documentation @ https://imi.readthedocs.io/en/latest/getting-started/imi-config-file.html
## General
RunName: "Test_Permian_1week"
Species: "CH4"
isAWS: true
SchedulerType: "slurm"
SafeMode: true
S3Upload: false
## Period of interest
StartDate: 20180501
EndDate: 20180508
SpinupMonths: 1
## What satellite data product should be used? Current options are:
## "BlendedTROPOMI" : The dataset generated by Balasus et al. in which
## the TROPOMI data are fit to GOSAT data using ML
## "TROPOMI" : The operational TROPOMI data
## "Other" : Any other dataset
## Currently, only "BlendedTROPOMI" and "TROPOMI" are supported on AWS. If
## "Other" is selected, the user must specify the path where observations are
## located under "Advanced settings" in this file.
SatelliteProduct: "Other"
# BlendedTROPOMI: false
## Is this a regional inversion? Set to false for global inversion
isRegional: true
## Select two character region ID (for using pre-cropped meteorological fields)
## Current options are listed below with ([lat],[lon]) bounds:
## "AF" : Africa ([-37,40], [-20,53])
## "AS" : Asia ([-11,55],[60,150])
## "EU" : Europe ([33,61],[-30,70])
## "ME" : Middle East ([12,50], [-20,70])
## "NA" : North America ([10,70],[-140,-40])
## "OC" : Oceania ([-50,5], [110,180])
## "RU" : Russia ([41,83], [19,180])
## "SA" : South America ([-59,16], [-88,-31])
## "" : Use for global global simulation or custom regions
## For example, if the region of interest is in Europe ([33,61],[-30,70]), select "EU".
RegionID: "NA"
## Region of interest
## These lat/lon bounds are only used if CreateAutomaticRectilinearStateVectorFile: true
## Otherwise lat/lon bounds are determined from StateVectorFile
LonMin: -105
LonMax: -103
LatMin: 31
LatMax: 33
## Kalman filter options
KalmanMode: false
UpdateFreqDays: 7
NudgeFactor: 0.1
## State vector
CreateAutomaticRectilinearStateVectorFile: true
nBufferClusters: 8
BufferDeg: 5
LandThreshold: 0.25
OffshoreEmisThreshold: 0
OptimizeBCs: false
OptimizeOH: false
## Point source datasets
## Used for visualizations and state vector clustering
PointSourceDatasets: ["SRON"]
## Clustering Options
ReducedDimensionStateVector: false
DynamicKFClustering: false
ClusteringMethod: "kmeans"
NumberOfElements: 45
ForcedNativeResolutionElements:
- [31.5, -104]
## Custom state vector
StateVectorFile: "/home/ubuntu/integrated_methane_inversion/resources/statevectors/StateVector.nc"
ShapeFile: "/home/ubuntu/integrated_methane_inversion/resources/shapefiles/PermianBasin_Extent_201712.shp"
## Inversion
## Note PriorError and PriorErrorOH are relative fractions (e.g. 0.5 = 50%)
## and PriorErrorBCs is in ppb
PriorError: 0.5
PriorErrorBCs: 10.0
PriorErrorOH: 0.5
ObsError: 15
Gamma: 1.0
PrecomputedJacobian: false
## Grid
## Options are 0.25x0.3125 (GEOSFP only), 0.5x0.625, 2.0x2.5, or 4.0x5.0
Res: "0.25x0.3125"
## Meteorology
## Options are GEOSFP or MERRA2
Met: "GEOSFP"
## Setup modules
## Turn on/off different steps in setting up the inversion
SetupTemplateRundir: true
SetupSpinupRun: false
SetupJacobianRuns: false
SetupInversion: false
SetupPosteriorRun: false
## Run modules
## Turn on/off different steps in performing the inversion
RunSetup: true
DoSpinup: false
DoJacobian: false
DoInversion: false
DoPosterior: false
## IMI preview
## NOTE: RunSetup must be true to run preview
DoPreview: true
DOFSThreshold: 0
## Resource allocation settings for slurm jobs
SimulationCPUs: 32
SimulationMemory: "32gb"
JacobianCPUs: 1
JacobianMemory: 2000
RequestedTime: "24:00:00"
SchedulerPartition: "debug"
## Max number of simultaneous Jacobian runs from the job array (-1: no limit)
MaxSimultaneousRuns: -1
##====================================================================
##
## Advanced Settings (optional)
##
##====================================================================
## These settings are intended for advanced users who wish to:
## a. modify additional GEOS-Chem options, or
## b. run the IMI on a local cluster.
## They can be ignored for any standard cloud application of the IMI.
##--------------------------------------------------------------------
## Additional settings for GEOS-Chem simulations
##--------------------------------------------------------------------
## Jacobian settings
## Note PerturbValue and PerturbValueOH are relative scale factors and
## PerturbValueBCs is in ppb
PerturbValue: 1.5
PerturbValueOH: 1.5
PerturbValueBCs: 10.0
## Apply scale factors from a previous inversion?
UseEmisSF: false
UseOHSF: false
## Save out hourly diagnostics from GEOS-Chem?
## For use in satellite operators via post-processing -- required for TROPOMI
## inversions
HourlySpecies: true
## Turn on planeflight diagnostic in GEOS-Chem?
## For use in comparing GEOS-Chem against planeflight data. The path
## to those data must be specified in input.geos.
PLANEFLIGHT: false
## Turn on old observation operators in GEOS-Chem?
## These will save out text files comparing GEOS-Chem to observations, but have
## to be manually incorporated into the IMI
GOSAT: false
TCCON: false
AIRS: false
## Use global boundary condition files for initial conditions
UseBCsForRestart: False
##------------------------------------------------------------------
## Settings for running on local cluster
##------------------------------------------------------------------
## Path for IMI runs and output
OutputPath: "/home/ubuntu/imi_output_dir"
## Path to GEOS-Chem input data
DataPath: "/home/ubuntu/ExtData"
## Conda environment file
PythonEnv: "/home/ubuntu/integrated_methane_inversion/envs/aws/python.env"
## Download initial restart file from AWS S3?
## NOTE: Must have AWS CLI enabled
RestartDownload: true
## Path to initial GEOS-Chem restart file + prefix
## ("YYYYMMDD_0000z.nc4" will be appended)
RestartFilePrefix: "/home/ubuntu/ExtData/BoundaryConditions/GEOSChem.BoundaryConditions."
RestartFilePreviewPrefix: "/home/ubuntu/ExtData/BoundaryConditions/GEOSChem.BoundaryConditions."
## Path to GEOS-Chem boundary condition files (for regional simulations)
## BCversion will be appended to the end of this path. ${BCpath}/${BCversion}
BCpath: "/home/ubuntu/ExtData/BoundaryConditions"
BCversion: "v2023-06"
## Options to download missing GEOS-Chem input data from AWS S3
## NOTE: You will be charged if your ec2 instance is not in the
## us-east-1 region.
PreviewDryRun: true
SpinupDryrun: true
ProductionDryRun: true
PosteriorDryRun: true
BCdryrun: true