Skip to content

Commit

Permalink
Move MAM, MATRIX, CARMA, GAAS, ACHEM to separate repos
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Jan 23, 2025
1 parent 6f3e5af commit a29488b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions construct_extdata_yaml_list.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import yaml
import argparse
import os

def parse_args():
p = argparse.ArgumentParser(description='create extdata master file')
Expand Down Expand Up @@ -44,7 +43,7 @@ def parse_args():
MAM:
- MAM7_ExtData.yaml
ACHEM:
- GEOSachem_ExtData.yaml
- ACHEM_ExtData.yaml
TR:
- TR_ExtData.yaml
DNA:
Expand Down Expand Up @@ -88,5 +87,4 @@ def parse_args():
for single_file in files_to_use:
f.write(" - "+single_file+"\n")
f.close()


2 changes: 1 addition & 1 deletion gcm_forecast.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ if ( $CARMA_TRUE == 0 && -e CARMAchem_GridComp_ExtData.rc ) /bin/mv CARMAc
set DNA_TRUE = `grep -i '^\s*ENABLE_DNA:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $DNA_TRUE == 0 && -e DNA_ExtData.rc ) /bin/mv DNA_ExtData.rc DNA_ExtData.rc.NOT_USED
set ACHEM_TRUE = `grep -i '^\s*ENABLE_ACHEM:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $ACHEM_TRUE == 0 && -e GEOSachem_ExtData.rc ) /bin/mv GEOSachem_ExtData.rc GEOSachem_ExtData.rc.NOT_USED
if ( $ACHEM_TRUE == 0 && -e ACHEM_ExtData.rc ) /bin/mv ACHEM_ExtData.rc ACHEM_ExtData.rc.NOT_USED

@MP_TURN_OFF_WSUB_EXTDATA# 1MOM and GFDL microphysics do not use WSUB_CLIM
@MP_TURN_OFF_WSUB_EXTDATA# -------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion gcm_run.j
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ if ( $CARMA_TRUE == 0 && -e CARMAchem_GridComp_ExtData.rc ) /bin/mv CARMAc
set DNA_TRUE = `grep -i '^\s*ENABLE_DNA:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $DNA_TRUE == 0 && -e DNA_ExtData.rc ) /bin/mv DNA_ExtData.rc DNA_ExtData.rc.NOT_USED
set ACHEM_TRUE = `grep -i '^\s*ENABLE_ACHEM:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $ACHEM_TRUE == 0 && -e GEOSachem_ExtData.rc ) /bin/mv GEOSachem_ExtData.rc GEOSachem_ExtData.rc.NOT_USED
if ( $ACHEM_TRUE == 0 && -e ACHEM_ExtData.rc ) /bin/mv ACHEM_ExtData.rc ACHEM_ExtData.rc.NOT_USED

@MP_TURN_OFF_WSUB_EXTDATA# 1MOM and GFDL microphysics do not use WSUB_CLIM
@MP_TURN_OFF_WSUB_EXTDATA# -------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion gcm_run_benchmark.j
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ if ( $CARMA_TRUE == 0 && -e CARMAchem_GridComp_ExtData.rc ) /bin/mv CARMAc
set DNA_TRUE = `grep -i '^\s*ENABLE_DNA:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $DNA_TRUE == 0 && -e DNA_ExtData.rc ) /bin/mv DNA_ExtData.rc DNA_ExtData.rc.NOT_USED
set ACHEM_TRUE = `grep -i '^\s*ENABLE_ACHEM:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $ACHEM_TRUE == 0 && -e GEOSachem_ExtData.rc ) /bin/mv GEOSachem_ExtData.rc GEOSachem_ExtData.rc.NOT_USED
if ( $ACHEM_TRUE == 0 && -e ACHEM_ExtData.rc ) /bin/mv ACHEM_ExtData.rc ACHEM_ExtData.rc.NOT_USED
set GOCART_DATA_TRUE = `grep -i '^\s*ENABLE_GOCART_DATA:\s*\.TRUE\.' GEOS_ChemGridComp.rc | wc -l`
if ( $GOCART_DATA_TRUE == 0 && -e GOCARTdata_ExtData.rc ) /bin/mv GOCARTdata_ExtData.rc GOCARTdata_ExtData.rc.NOT_USED

Expand Down
2 changes: 1 addition & 1 deletion geoschemchem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -3072,7 +3072,7 @@ echo " CARMAchem_GridComp_ExtData.rc"
echo " CFC_GridComp_ExtData.rc"
echo " CH4_GridComp_ExtData.rc"
echo " DNA_ExtData.rc"
echo " GEOSachem_ExtData.rc"
echo " ACHEM_ExtData.rc"
echo " MAM7_ExtData.rc"
echo " O3_GridComp_ExtData.rc"
echo " Rn_GridComp_ExtData.rc"
Expand Down

0 comments on commit a29488b

Please sign in to comment.