Skip to content

Commit

Permalink
Convergence with mac branch - 1st step
Browse files Browse the repository at this point in the history
  • Loading branch information
romainroehrig committed Jan 18, 2022
1 parent 0ade1ed commit e084881
Show file tree
Hide file tree
Showing 71 changed files with 5,628 additions and 3,490 deletions.
2 changes: 1 addition & 1 deletion apptools/MUSC.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,5 @@
logger.info('Run data for {0}/{1} already installed, loverwrite={2}, lupdate={3}'.format(case, subcase, loverwrite, lupdate_RUN))

os.remove("./config.py")
os.remove("./config.pyc")
#os.remove("./config.pyc")

10 changes: 1 addition & 9 deletions apptools/ems_convertLFA2nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,11 @@
os.system('rm -f netcdf/*')


# Dict for variable attributes
varatts = {}
for var in VV.varnames.keys():
varatts[var] = dict(varname=VV.varnames[var],
name=VV.names[var] if var in VV.names.keys() else VV.varnames[var],
units=VV.units[var] if var in VV.units.keys() else '-',
coef=VV.coefs[var] if var in VV.coefs.keys() else 1)

# From lfa to netcdf
fin = 'netcdf/Out_klevel.nc'
lfa2nc('LFA', fin,
tosave=None if config.saveall else config.var2save,
varatts=varatts,
varatts=VV.variables,
solib=solib)

# Operations on model levels
Expand Down
Loading

0 comments on commit e084881

Please sign in to comment.