File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212### Added
1313
14+ - Added items to LDAS.rc when it is a stretched grid
15+
1416### Changed
1517
1618- Revisions for handling of Nens and special nml and mwtrm path/files in coupled land-atm DAS.
Original file line number Diff line number Diff line change @@ -1451,6 +1451,14 @@ class LDASsetup:
14511451 valn = 'landpert' + tmpl_ + '_internal_checkpoint'
14521452 ldasrcInp [keyn ]= valn
14531453
1454+ # add items for sretched grid
1455+ if 'SG0' in self .rqdExeInp ['BCS_RESOLUTION' ]:
1456+ pos_ = self .rqdExeInp ['BCS_RESOLUTION' ].find ('SG0' )
1457+ SG = self .rqdExeInp ['BCS_RESOLUTION' ][pos_ :pos_ + 5 ] # get SG001 or SG002
1458+ ldasrcInp ['STRETCH_FACTOR' ] = STRETCH_GRID [SG ][0 ]
1459+ ldasrcInp ['TARGET_LAT' ] = STRETCH_GRID [SG ][1 ]
1460+ ldasrcInp ['TARGET_LON' ] = STRETCH_GRID [SG ][2 ]
1461+
14541462 # write LDAS.rc
14551463 fout = open (self .rundir + '/' + shortfile ,'w' )
14561464 # ldasrcInp['NUM_LDAS_ENSEMBLE']=ldasrcInp.pop('NUM_ENSEMBLE')
You can’t perform that action at this time.
0 commit comments