diff --git a/config.yml b/config.yml index 32d993c8..b9983b6c 100644 --- a/config.yml +++ b/config.yml @@ -2,7 +2,7 @@ ## Documentation @ https://imi.readthedocs.io/en/latest/getting-started/imi-config-file.html ## General -RunName: "Test_Permian_1week" +RunName: "Test_Permian_1week_true" isAWS: true UseSlurm: true SafeMode: true @@ -84,18 +84,18 @@ Met: "geosfp" ## Setup modules ## Turn on/off different steps in setting up the inversion SetupTemplateRundir: true -SetupSpinupRun: false -SetupJacobianRuns: false -SetupInversion: false -SetupPosteriorRun: false +SetupSpinupRun: true +SetupJacobianRuns: true +SetupInversion: true +SetupPosteriorRun: true ## Run modules ## Turn on/off different steps in performing the inversion RunSetup: true -DoSpinup: false -DoJacobian: false -DoInversion: false -DoPosterior: false +DoSpinup: true +DoJacobian: true +DoInversion: true +DoPosterior: true ## IMI preview DoPreview: true diff --git a/src/components/template_component/template.sh b/src/components/template_component/template.sh index 4b00815e..b18b8e4e 100644 --- a/src/components/template_component/template.sh +++ b/src/components/template_component/template.sh @@ -109,8 +109,9 @@ setup_template() { # Modify HISTORY.rc sed -i -e "s:'CH4':#'CH4':g" \ - -e "s:'Metrics:#'Metrics:g" HISTORY.rc - + -e "s:'Metrics:#'Metrics:g" \ + -e "s:'StateMet:#'StateMet:g" HISTORY.rc + # If turned on, save out hourly CH4 concentrations to daily files if "$HourlyCH4"; then sed -i -e 's/SpeciesConc.frequency: 00000100 000000/SpeciesConc.frequency: 00000000 010000/g' \ diff --git a/src/inversion_scripts/point_sources.py b/src/inversion_scripts/point_sources.py index 3c67dbbc..4de4bbfb 100644 --- a/src/inversion_scripts/point_sources.py +++ b/src/inversion_scripts/point_sources.py @@ -169,7 +169,7 @@ def SRON_plumes(config): startDate = datetime.datetime.strptime(str(config["StartDate"]), "%Y%m%d") endDate = datetime.datetime.strptime(str(config["EndDate"]), "%Y%m%d") if endDate.year < 2023: # SRON plumes are only available beginning in 2023 - return None + return [] custom_vectorfile = not config["CreateAutomaticRectilinearStateVectorFile"] LatMax = config["LatMax"] LatMin = config["LatMin"]