In [3]:
import romspy
romspy.make_ini_file('example.nc', 'example.nc')
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-3-6cf96db9b4bd> in <module>()
1 import romspy
2
----> 3 romspy.make_ini_file('example.nc', 'example.nc')
/Users/teruhisa/romspy/romspy/make_ini_file.py in make_ini_file(grdfile, inifile, biofile, bgcfile)
19 def make_ini_file(grdfile, inifile, biofile=None, bgcfile=None):
20
---> 21 nc = netCDF4.Dataset(grdfile, 'r')
22 imax = len(nc.dimensions['xi_rho'])
23 jmax = len(nc.dimensions['eta_rho'])
/Users/teruhisa/anaconda/lib/python2.7/site-packages/netCDF4.so in netCDF4.Dataset.__init__ (netCDF4.c:19502)()
RuntimeError: No such file or directory
In [ ]:
Content source: okadate/romspy
Similar notebooks: