Skip to content

Commit

Permalink
remove entries not for catch model
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyuan-jiang committed Jun 14, 2024
1 parent 24971fc commit 383d51c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions GEOSldas_App/ldas_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,13 @@ class LDASsetup:
ldasrcInp[keyn]= valn
if('catchcn' in self.catch):
ldasrcInp['CO2_MonthlyMean_DiurnalCycle_FILE']= '../input/CO2_MonthlyMean_DiurnalCycle.nc4'
else:
# remove entries not for catch model
ldasrcInp.pop('DTCN',None)
ldasrcInp.pop('ATM_CO2',None)
ldasrcInp.pop('CO2',None)
ldasrcInp.pop('CO2_YEAR',None)
ldasrcInp.pop('PRESCRIBE_DVG',None)

# create restart item in RC
catch_ = self.catch.upper()
Expand Down

0 comments on commit 383d51c

Please sign in to comment.