Skip to content

Commit

Permalink
Changing back to default config files
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Nesser committed Jun 28, 2024
1 parent 732e551 commit 9c4bc72
Show file tree
Hide file tree
Showing 3 changed files with 284 additions and 69 deletions.
95 changes: 44 additions & 51 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
## Documentation @ https://imi.readthedocs.io/en/latest/getting-started/imi-config-file.html

## General
RunName: "Test_ICI_Global"
Species: "CO2"
isAWS: false
SchedulerType: "PBS"
SafeMode: false
RunName: "Test_Permian_1week"
Species: "CH4"
isAWS: true
SchedulerType: "slurm"
SafeMode: true
S3Upload: false

## Period of interest
StartDate: 20221001
EndDate: 20221003
StartDate: 20180501
EndDate: 20180508
SpinupMonths: 1

## What satellite data product should be used? Current options are:
Expand All @@ -26,7 +26,7 @@ SatelliteProduct: "Other"
# BlendedTROPOMI: false

## Is this a regional inversion? Set to false for global inversion
isRegional: false
isRegional: true

## Select two character region ID (for using pre-cropped meteorological fields)
## Current options are listed below with ([lat],[lon]) bounds:
Expand All @@ -40,15 +40,15 @@ isRegional: false
## "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: ""
RegionID: "NA"

## Region of interest
## These lat/lon bounds are only used if CreateAutomaticRectilinearStateVectorFile: true
## Otherwise lat/lon bounds are determined from StateVectorFile
LonMin: -102.5
LonMax: -87.5
LatMin: 16
LatMax: 24
LonMin: -105
LonMax: -103
LatMin: 31
LatMax: 33

## Kalman filter options
KalmanMode: false
Expand All @@ -57,11 +57,11 @@ NudgeFactor: 0.1

## State vector
CreateAutomaticRectilinearStateVectorFile: true
nBufferClusters:
BufferDeg: 0
OptimizeBCs: false
nBufferClusters: 8
BufferDeg: 5
LandThreshold: 0.25
OffshoreEmisThreshold: 0
OptimizeBCs: false
OptimizeOH: false

## Point source datasets
Expand All @@ -77,8 +77,8 @@ ForcedNativeResolutionElements:
- [31.5, -104]

## Custom state vector
StateVectorFile: "/path/to/StateVector.nc"
ShapeFile: "None"
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%)
Expand All @@ -92,25 +92,25 @@ PrecomputedJacobian: false

## Grid
## Options are 0.25x0.3125 (GEOSFP only), 0.5x0.625, 2.0x2.5, or 4.0x5.0
Res: "2.0x2.5"
Res: "0.25x0.3125"

## Meteorology
## Options are GEOSFP or MERRA2
Met: "MERRA2"
Met: "GEOSFP"

## Setup modules
## Turn on/off different steps in setting up the inversion
SetupTemplateRundir: true
SetupSpinupRun: true
SetupJacobianRuns: true
SetupSpinupRun: false
SetupJacobianRuns: false
SetupInversion: false
SetupPosteriorRun: false

## Run modules
## Turn on/off different steps in performing the inversion
RunSetup: false
DoSpinup: true
DoJacobian: true
RunSetup: true
DoSpinup: false
DoJacobian: false
DoInversion: false
DoPosterior: false

Expand All @@ -124,11 +124,11 @@ SimulationCPUs: 32
SimulationMemory: "32gb"
JacobianCPUs: 1
JacobianMemory: 2000
RequestedTime: "01:00:00"
RequestedTime: "24:00:00"
SchedulerPartition: "debug"

## Max number of simultaneous Jacobian runs from the job array (-1: no limit)
MaxSimultaneousRuns: 50
MaxSimultaneousRuns: -1

##====================================================================
##
Expand Down Expand Up @@ -181,40 +181,33 @@ UseBCsForRestart: False
##------------------------------------------------------------------

## Path for IMI runs and output
OutputPath: "/nobackupp27/$USER/IMI_demo"
OutputPath: "/home/ubuntu/imi_output_dir"

## Path to GEOS-Chem input data
DataPath: "/nobackupp27/$USER/ExtData"

## Path to satellite data
# DataPathObs: "/nobackup/$USER/CO2_inversion/observations/OCO-2"
DataPathObs: "/nobackupp27/$USER/IMI_demo/data_TROPOMI"

## GEOS-Chem environment file (with fortran compiler, netcdf libraries, etc.)
## NOTE: Copy your own file in the envs/ directory within the IMI
GEOSChemEnv: "envs/NASA-Pleiades/gcclassic.pleiades.env"
DataPath: "/home/ubuntu/ExtData"

## Python environment file (this is normally one or two lines)
PythonEnv: "envs/NASA-Pleiades/python.env"
## 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: false
## NOTE: Must have AWS CLI enabled
RestartDownload: true

## Path to initial GEOS-Chem restart file + prefix
## ("YYYYMMDD_0000z.nc4" will be appended)
RestartFilePrefix: "/nobackup/$USER/CO2_inversion/restart_"
RestartFilePreviewPrefix: "/nobackup/$USER/CO2_inversion/restart_"
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: "/nobackup/$USER"
BCversion: "v2023-10"
BCpath: "/home/ubuntu/ExtData/BoundaryConditions"
BCversion: "v2023-06"

## Options to download missing GEOS-Chem input data from AWS S3
## NOTE: Must have AWS CLI enabled
PreviewDryRun: false
SpinupDryrun: false
ProductionDryRun: false
PosteriorDryRun: false
BCdryrun: false
## 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
38 changes: 20 additions & 18 deletions envs/NASA-Pleiades/config.nasa-pleiades.global_inv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ RunName: "Test_ICI_Global"
Species: "CO2"
isAWS: false
SchedulerType: "PBS"
SafeMode: true
SafeMode: false
S3Upload: false

## Period of interest
StartDate: 20180501
EndDate: 20180502
StartDate: 20221001
EndDate: 20221003
SpinupMonths: 1

## What satellite data product should be used? Current options are:
Expand Down Expand Up @@ -45,10 +45,10 @@ RegionID: ""
## Region of interest
## These lat/lon bounds are only used if CreateAutomaticRectilinearStateVectorFile: true
## Otherwise lat/lon bounds are determined from StateVectorFile
LonMin: -180
LonMax: 180
LatMin: -90
LatMax: 90
LonMin: -102.5
LonMax: -87.5
LatMin: 16
LatMax: 24

## Kalman filter options
KalmanMode: false
Expand All @@ -57,7 +57,7 @@ NudgeFactor: 0.1

## State vector
CreateAutomaticRectilinearStateVectorFile: true
nBufferClusters: 0
nBufferClusters:
BufferDeg: 0
OptimizeBCs: false
LandThreshold: 0.25
Expand Down Expand Up @@ -96,21 +96,21 @@ Res: "2.0x2.5"

## Meteorology
## Options are GEOSFP or MERRA2
Met: "GEOSFP"
Met: "MERRA2"

## Setup modules
## Turn on/off different steps in setting up the inversion
SetupTemplateRundir: true
SetupSpinupRun: false
SetupJacobianRuns: false
SetupSpinupRun: true
SetupJacobianRuns: true
SetupInversion: false
SetupPosteriorRun: false

## Run modules
## Turn on/off different steps in performing the inversion
RunSetup: true
DoSpinup: false
DoJacobian: false
RunSetup: false
DoSpinup: true
DoJacobian: true
DoInversion: false
DoPosterior: false

Expand All @@ -124,7 +124,8 @@ SimulationCPUs: 32
SimulationMemory: "32gb"
JacobianCPUs: 1
JacobianMemory: 2000
RequestedTime: "24:00:00"
RequestedTime: "01:00:00"
SchedulerPartition: "debug"

## Max number of simultaneous Jacobian runs from the job array (-1: no limit)
MaxSimultaneousRuns: 50
Expand Down Expand Up @@ -180,13 +181,14 @@ UseBCsForRestart: False
##------------------------------------------------------------------

## Path for IMI runs and output
OutputPath: "/nobackup/$USER"
OutputPath: "/nobackupp27/$USER/IMI_demo"

## Path to GEOS-Chem input data
DataPath: "/nobackup/$USER/ExtData"
DataPath: "/nobackupp27/$USER/ExtData"

## Path to satellite data
DataPathObs: "/nobackup/$USER/CO2_inversion/observations/OCO-2"
# DataPathObs: "/nobackup/$USER/CO2_inversion/observations/OCO-2"
DataPathObs: "/nobackupp27/$USER/IMI_demo/data_TROPOMI"

## GEOS-Chem environment file (with fortran compiler, netcdf libraries, etc.)
## NOTE: Copy your own file in the envs/ directory within the IMI
Expand Down
Loading

0 comments on commit 9c4bc72

Please sign in to comment.