Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation of floater #41

Open
cmazoyer opened this issue May 1, 2017 · 2 comments
Open

installation of floater #41

cmazoyer opened this issue May 1, 2017 · 2 comments

Comments

@cmazoyer
Copy link

cmazoyer commented May 1, 2017

Dear all,
As explained in #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
Copy link
Contributor

geosciz commented May 3, 2017

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
Copy link
Collaborator

rabernat commented May 3, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants