Skip to content

Commit e58dbd0

Browse files
Added functionality to run on tile space of stretched cube-sphere grids (#109)
2 parents 0425274 + e572f41 commit e58dbd0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14+
- Added functionality to run on tile space of stretched cube-sphere grids.
1415
- Added python package for post-processing ObsFcstAna output.
1516

17+
1618
### Changed
1719

1820
- Specify only ntasks_model for SLURM resource request.

GEOSldas_App/ldas_setup

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)