ocean-transport / floater

For working with lagrangian float data
http://floater.readthedocs.io
15 stars 17 forks source link

installation of floater #41

Open cmazoyer opened 7 years ago

cmazoyer commented 7 years ago

Dear all, As explained in https://github.com/rabernat/floater/issues/18, I'm trying to install floater but I encounter some problems. Could you help me?

I use conda, with python 2.7 I installed floater this way: sudo su /softs/anaconda2/bin/conda create -n envmitgcm python=2.7.13 anaconda source /softs/anaconda2/bin/activate envmitgcm /softs/anaconda2/bin/conda install -n envmitgcm xarray /softs/anaconda2/bin/conda install -n envmitgcm netcdf4 cd /home/mazoyer/Documents/sources/pyMITGM/floater ipython setup.py install

Then, when I try to use floater_convert with the MITgcm example outputs, nothing happens. /home/mazoyer/Documents/sources/pyMITGM/floater/build/scripts-2.7/floater_convert --output_format netcdf --ref_time 2013-01-01 --step_time 13 float_trajectories --progress

If I ask for pandas output format, a h5 file is created.

Do you have an idea about what could be the problem with my installation? Thanks a lot, Camille

geosciz commented 7 years ago

Hi @cmazoyer,

Thanks for creating this issue. Based on your description, installation is not the problem here. At present, floater_convert with --output_format netcdf could only be used to transcode comma separated values (CSV) files generated by a hacked version of MITgcm FLT package. Also, the unit of --step_time in floater_convert is second with a default value of 86400. We are going to include some error raising messages to avoid the potential confusion.

cc: @rabernat

rabernat commented 7 years ago

So we recommend using --output_format bcolz together with bcolz and pandas to analyze the normal float data.