Home >> Forums >> HYCOM, ICTHYOP and R

HYCOM, ICTHYOP and R

Dear community, 

I have been reading some examples about how to use HYCOM in Ichtyop. Unfortunately, all the examples in this forum are in python. It seems that the solution is rather simple, nonetheless I have been trying and I cant do it, I am not even familiar with the .nc files. I am no good in programming, and I dont know nothing about python, I have been trying to use R to no avail. Not even stackoverflow helped me.  I was wondering if someone have done the interpolation in R to run Ichtyop. I would be greatly grateful. 

Thank you very much

 

Cheers

Ichthyop version: 
Ichthyop 3.3alpha
Hydrodynamic dataset: 
HYCOM
Java version: 
Java SE 8
Operating system: 
Windows 10

Hi Luis

In order to try to run the interpolation example files in Python, you may first need to install the Anaconda2 version of Python (https://www.anaconda.com/distribution/). You need to install version 2.7, since the scripts may not be compatible with Python 3.7.

When this is done, you might need to install some additional packages (netCDF4, xarray) following the procedure described here: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-p...

> conda install netCDF4

> conda install xarray

When you have done all this, come back to me and I will help you running the scripts

Nicolas

Thank you very much Nicolas! I will do it and as soon I install it I contact you! 

Ill keep you informed

Regards, 

 

Luis

Hi Nicolas!
I have the inputs to learn how to transform the HYCOM model
Could you guide so I can learn how to run the codes?
Maybe we could be in contact via email?
Edit.- Hi Nicolas. I am adding my email so you can contact me if you wish. I will be checking this thread daily though.
luis.angeles0612@gmail.com
Luis

Hi Nicolas, are you still in the forum?
Should I just upload a file as an example?
Luis

Hi Luis

Sorry for my late response, I was very busy, then on holidays, then very busy again. Can your put some sample of your NetCDF files? I will then try to help you with the processing.

Nicolas

Hi Nicolas!
I am uploading a file that could be used as an example, I wish to understand the script so I can do this process by myself in future works! 
Regards, 
Luis