Skip to content

Commit

Permalink
hotfix to address MAPL_ReadForcing() file position issue with Intel-1…
Browse files Browse the repository at this point in the history
…9 compiler (#261)

GEOSldas modifications to work with GCM GridComp fix:
GEOS-ESM/GEOSgcm_GridComp#304
GEOS-ESM/GEOSgcm_GridComp#305
  • Loading branch information
gmao-rreichle committed Jun 26, 2020
1 parent ce02d29 commit 2a838d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ GEOSgcm_GridComp:
sparse: ./config/GEOSgcm_GridComp_ldas.sparse
branch: develop
develop: develop

11 changes: 5 additions & 6 deletions src/Applications/LDAS_App/ldas_setup
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,9 @@ class LDASsetup:
# link BC
print "linking bcs..."
bcnames=['green','lai','ndvi','nirdf','visdf']
for ensid in self.ensids :
for bcln,bc in zip(bcnames,bcs) :
myBC=self.inpdir+'/'+bcln+ensid+'.data'
os.symlink(bc,myBC)
for bcln,bc in zip(bcnames,bcs) :
myBC=self.inpdir+'/'+bcln+'.data'
os.symlink(bc,myBC)

# create and link restart
print "Creating and lining restart..."
Expand Down Expand Up @@ -1016,8 +1015,8 @@ class LDASsetup:
bcval=['../input/green','../input/lai','../input/ndvi','../input/nirdf','../input/visdf']
bckey=['GREEN','LAI','NDVI','NIRDF','VISDF']
for key, val in zip(bckey,bcval):
keyn= key+'_FILE'
valn= val+tmpl_+'.data'
keyn = key+'_FILE'
valn = val+'.data'
ldasrcInp[keyn]= valn

# create restart item in RC
Expand Down

0 comments on commit 2a838d5

Please sign in to comment.