File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1451,10 +1451,10 @@ 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
1454+ # add items for stretched grid
1455+ if '-SG ' in self .rqdExeInp ['BCS_RESOLUTION' ]:
1456+ pos_ = self .rqdExeInp ['BCS_RESOLUTION' ].find ('-SG ' )
1457+ SG = self .rqdExeInp ['BCS_RESOLUTION' ][pos_ + 1 :pos_ + 6 ] # get SG001 or SG002
14581458 ldasrcInp ['STRETCH_FACTOR' ] = STRETCH_GRID [SG ][0 ]
14591459 ldasrcInp ['TARGET_LAT' ] = STRETCH_GRID [SG ][1 ]
14601460 ldasrcInp ['TARGET_LON' ] = STRETCH_GRID [SG ][2 ]
You can’t perform that action at this time.
0 commit comments