Closed shalevale closed 7 years ago
I guess you are running Python 3. The library is not yet Python 3 compatible. We intend to fix this soon. Any help is appreciated.
Hi @shalevale, I did a quick run through the code. The examples should now run fine in Python 3 as well. Can you test if your problem has been solved? Bas
Hi! Thank you so much, I am trying to download the package in pip, but I get an error.
When I got it, I will check if all it is ok in python 3,
see you!
Hiii @hoonhout I test the notebook example now, and works great in python 3.6!!!
Thank you so much for you rapidly conttribution!
Hi, I am trying to ejecute the reproducible example of the notebook:
import re import seaborn as sns import oceanwaves import xarray as xr from datetime import datetime
measurement times
time = [datetime(2013,12,1), datetime(2014,12,2)]
measurement locations
location = [(0,0),(0,1),(1,1),(.5,.5)]
initialize OceanWaves object
ow = oceanwaves.OceanWaves(time=time, time_var='datetime', location=location, crs='epsg:28992', energy_units='m', energy_var='waveheight') # note we are defining wave heights here!
But I get an error:
NameError Traceback (most recent call last)