File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212### Added
1313
14- - Added constraint option for slurm job
14+ - Added optional SLURM "constraint".
15+ - Added functionality to run on tile space of stretched cube-sphere grids.
1516- Added python package for post-processing ObsFcstAna output.
1617
18+
1719### Changed
1820
1921- Specify only ntasks_model for SLURM resource request.
Original file line number Diff line number Diff line change @@ -1440,6 +1440,14 @@ class LDASsetup:
14401440 valn = 'landpert' + tmpl_ + '_internal_checkpoint'
14411441 ldasrcInp [keyn ]= valn
14421442
1443+ # add items for stretched grid
1444+ if '-SG' in self .rqdExeInp ['BCS_RESOLUTION' ]:
1445+ pos_ = self .rqdExeInp ['BCS_RESOLUTION' ].find ('-SG' )
1446+ SG = self .rqdExeInp ['BCS_RESOLUTION' ][pos_ + 1 :pos_ + 6 ] # get ID of stretched grid (e.g., SG002)
1447+ ldasrcInp ['STRETCH_FACTOR' ] = STRETCH_GRID [SG ][0 ]
1448+ ldasrcInp ['TARGET_LAT' ] = STRETCH_GRID [SG ][1 ]
1449+ ldasrcInp ['TARGET_LON' ] = STRETCH_GRID [SG ][2 ]
1450+
14431451 # write LDAS.rc
14441452 fout = open (self .rundir + '/' + shortfile ,'w' )
14451453 # ldasrcInp['NUM_LDAS_ENSEMBLE']=ldasrcInp.pop('NUM_ENSEMBLE')
You can’t perform that action at this time.
0 commit comments