Skip to content

Commit

Permalink
@HiroyukiHiroyukiTsujino final tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
durack1 committed Sep 17, 2020
1 parent fe983fa commit 0a60625
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions demo/MRI-JMA-JRA55-do-1-5-0/runCmorAllWrite-1-5-0-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,15 +530,15 @@
print ('Start CMOR write..')
if key == 'OmonC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'OyrC':
elif key == 'OyrC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'LIyrC':
elif key == 'LIyrC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'Ofx':
elif key == 'Ofx':
cmor.write(varid,values) ; # Write variable without time axis
elif key == 'Afx':
elif key == 'Afx':
cmor.write(varid,values) ; # Write variable without time axis
elif key == 'LIfx':
elif key == 'LIfx':
cmor.write(varid,values) ; # Write variable without time axis
else:
cmor.write(varid,values,time_vals=time,time_bnds=time.getBounds()) ; # Write variable with time axis
Expand Down
12 changes: 6 additions & 6 deletions demo/MRI-JMA-JRA55-do-1-5-0/runCmorAllWrite-1-5-0.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@
'input_atmos/solid_runoff.2016.16Feb2019.nc',
'input_atmos/solid_runoff.2017.16Feb2019.nc',
'input_atmos/solid_runoff.2018.16Feb2019.nc',
'input_atmos/solid_runoff.2019.16Jan2010.nc',
'input_atmos/solid_runoff.2019.16Jan2020.nc',
'input_atmos/solid_runoff.2020.24jul2020.nc'
]
inputDict['LIday'][key]['inputVarName'] = 'licalvf'
Expand Down Expand Up @@ -1437,15 +1437,15 @@
print ('Start CMOR write..')
if key == 'OmonC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'OyrC':
elif key == 'OyrC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'LIyrC':
elif key == 'LIyrC':
cmor.write(varid,values) ; # Write variable with time axis
elif key == 'Ofx':
elif key == 'Ofx':
cmor.write(varid,values) ; # Write variable without time axis
elif key == 'Afx':
elif key == 'Afx':
cmor.write(varid,values) ; # Write variable without time axis
elif key == 'LIfx':
elif key == 'LIfx':
cmor.write(varid,values) ; # Write variable without time axis
else:
cmor.write(varid,values,time_vals=time,time_bnds=time.getBounds()) ; # Write variable with time axis
Expand Down

0 comments on commit 0a60625

Please sign in to comment.