Closed eclare108213 closed 3 months ago
Hi @eclare108213, in CICE we now have a Python version of this script that gets copied into $ICE_CASEDIR
along with the gnuplot version. Maybe this is just a matter of adding that Python script to the Icepack repo?
Just successfully did a standalone icepack run on my laptop! I just came across the gnuplot thing. Can we make this a priority to get gnuplot installed for Icepack?
Ok. I just downloaded the python version. Didn't we have this in Icepack originally? Anyhow, it is python2 and does not work with python3. Anyone volunteering to update this?
Adding @apcraig to this as well.
Hi @eclare108213, in CICE we now have a Python version of this script that gets copied into
$ICE_CASEDIR
along with the gnuplot version. Maybe this is just a matter of adding that Python script to the Icepack repo?
The issue is that the python timeseries script is configured for the full CICE log output (e.g. total ice area for NH and SH). I think the gnuplot version is the way to go. I am looking into a way to install gnuplot on my Mac.
The issue is that the python timeseries script is configured for the full CICE log output (e.g. total ice area for NH and SH). I think the gnuplot version is the way to go. I am looking into a way to install gnuplot on my Mac.
You should just be able to add - gnuplot
as another line in environment.yml
and run $ conda env update
I do agree though that moving to a python version would be easier to modify / maintain going forward.
I tried a pip install gnuplot and it did not find it.
I tried a pip install gnuplot and it did not find it.
Yeah correct - pip is for python and gnuplot is an executable / not python
Got it! The conda install works.
Ok. As @anton-seaice suggests, we can add gnuplot to the conda environment. Then at least we will have something for the tutorial.
I am testing out the homework instructions and ran into this issue. - gnuplot
is in my new clone's environment.yml file under # Plotting dependencies
, but I'm getting an error gnuplot: Command not found.
and the .png files are all empty. The conda environment is activated. Help?
Never mind - I thought the conda environment was activated, but only for 'base', not 'icepack'.
This has been fixed, gnuplot is now part of the icepack conda env as of March 1, 2024, #483
I'm not sure if this is a problem with my particular conda setup, but it would be nice to have gnuplot (or some equivalent) available for use with the timeseries.csh script (which I copied from configuration/scripts/tests into my local test directory).
$ ./timeseries.csh logs/ice_diag.full_ITD.221007-155537
Plotting data for 'area fraction' and saving to logs/ice_diag.full_ITD.221007-155537_area_fraction.png
gnuplot: Command not found.