Skip to content

Commit 1b06876

Browse files
committed
No longer need to provide NULL RI and RL for GMI when running FastJX 6.5
1 parent a5edfe5 commit 1b06876

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/Applications/GEOSctm_App/README

src/Applications/GEOSctm_App/README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
As of September 2, 2025:
1+
As of November 7, 2025:
22

33
Requires modifications in these repo's:
44

@@ -50,10 +50,10 @@ NOTE: EXTDATA_CF in CAP.rc only works for ExtData1G; it is kept
5050
since it is part of the logic when running non-MERRA2 met fields.
5151

5252
GMI:
53-
GMI needs imports RI and RL for CloudJ. It requests the imports
54-
even when it doesn't need them, so we compensate with NULL entries;
55-
search the run-script for 'Until GMI accounts for Imports'
56-
A future release of GMI will handle RI and RL better.
53+
Starting with GMI v1.5.0, CloudJ is the default for photolysis,
54+
but since CTM does not yet have a way to provide RI and RL, you need to change to FastJX 6.5:
55+
in RC/GMI_GridComp.rc uncomment the fastj_opt = 4 section and
56+
comment out the fastj_opt = 5 section.
5757

5858
GMI can supply aerosols; if this option is selected during setup,
5959
optics filenames are appended to GEOSCTM.rc

src/Applications/GEOSctm_App/ctm_run.j

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -328,36 +328,6 @@ cat TempFile | sed -e "/Exports/a $NULL_NULL" > $file
328328
cat TempFile | sed -e "/Exports/a $NULL_ZLFC" > $file
329329
/bin/rm TempFile
330330

331-
#######################################################################
332-
# Until GMI accounts for Imports that CTM does not have :
333-
#######################################################################
334-
335-
### rc
336-
set NULL_RI = "RI '1' N Y - none none UNUSED /dev/null"
337-
set NULL_RL = "RL '1' N Y - none none UNUSED /dev/null"
338-
339-
# Add the lines to this file, after the line that includes 'ACET_FIXED'
340-
set file = GMI_ExtData.rc
341-
342-
/bin/mv $file TempFile
343-
cat TempFile | sed -e "/ACET_FIXED/a $NULL_RI" > $file
344-
/bin/mv $file TempFile
345-
cat TempFile | sed -e "/ACET_FIXED/a $NULL_RL" > $file
346-
/bin/rm TempFile
347-
348-
### yaml
349-
set NULL_RI = "\ \ RI: { collection: /dev/null }"
350-
set NULL_RL = "\ \ RL: { collection: /dev/null }"
351-
352-
# Add the lines to this file, after the line that includes 'Exports'
353-
set file = GMI_ExtData.yaml
354-
355-
/bin/mv $file TempFile
356-
cat TempFile | sed -e "/Exports/a $NULL_RI" > $file
357-
/bin/mv $file TempFile
358-
cat TempFile | sed -e "/Exports/a $NULL_RL" > $file
359-
/bin/rm TempFile
360-
361331
# Driving datasets
362332
setenv DRIVING_DATASETS @DRIVING_DATASETS
363333

0 commit comments

Comments
 (0)