forked from geoschem/integrated_methane_inversion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
170 lines (140 loc) · 4.95 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
## IMI configuration file
## Documentation @ https://imi.readthedocs.io/en/latest/getting-started/imi-config-file.html
## General
RunName: "Test_Permian_1week"
isAWS: true
UseSlurm: true
SafeMode: true
## Period of interest
StartDate: 20180501
EndDate: 20180508
SpinupMonths: 1
## 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
## Use nested grid simulation?
## Must be "true" for IMI regional inversions
NestedGrid: true
## Select nested grid region (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,44], [-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 met fields (global simulation/custom nested grids)
## For example, if the region of interest is in Europe ([33,61],[-30,70]), select "EU".
NestedRegion: "NA"
## State vector
CreateAutomaticRectilinearStateVectorFile: true
nBufferClusters: 8
BufferDeg: 5
LandThreshold: 0.25
OffshoreEmisThreshold: 0
## Clustering Options
ReducedDimensionStateVector: 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
PriorError: 0.5
ObsError: 15
Gamma: 1.0
PrecomputedJacobian: false
## Grid
## Select "0.25x0.3125" and "geosfp", or "0.5x0.625" and "merra2"
Res: "0.25x0.3125"
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
DoPreview: true
DOFSThreshold: 0
##====================================================================
##
## 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
PerturbValue: 1.5
## 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
HourlyCH4: 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
## resources to allocate to slurm jobs
SimulationCPUs: 32
SimulationMemory: 32000
JacobianCPUs: 1
JacobianMemory: 2000
RequestedTime: "0-6:00"
SchedulerPartition: "debug"
##--------------------------------------------------------------------
## Settings for running on a local cluster
##--------------------------------------------------------------------
## Path for IMI runs and output
OutputPath: "/home/ubuntu/imi_output_dir"
## Path to GEOS-Chem input data
DataPath: "/home/ubuntu/ExtData"
## Environment files
CondaFile: "/home/ubuntu/miniconda/etc/profile.d/conda.sh"
CondaEnv: "geo"
## Download initial restart file from AWS S3?
RestartDownload: true
## Path to initial GEOS-Chem restart file + prefix
## ("YYYYMMDD_0000z.nc4" will be appended)
RestartFilePrefix: "/home/ubuntu/ExtData/BoundaryConditions/v2023-06/GEOSChem.BoundaryConditions."
RestartFilePreviewPrefix: "/home/ubuntu/ExtData/BoundaryConditions/v2023-06/GEOSChem.BoundaryConditions."
## Path to GEOS-Chem boundary condition files (for nested grid simulations)
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