Robert Wilson
Robert Wilson
After some thought, the `mid_point` arg is poorly designed, and it probably should not exist. In your case, you should probably specify the colour scale: ds.pub_plot(var="topo",out="test0.png",mid_point=1,limits=[0,2], colours = "RdBu_r") This...
Are you running nctoolkit from Python on the terminal @chuaxr ? Internally, it is calling hvplot/panel, which can be tweaked easily I think. My assumption is that this would only...
Hi @break2make. As stated on the [package website](https://nctoolkit.readthedocs.io/en/latest/), nctoolkit will not work on Windows. Your options would be to either use Linux/macOS or use the Linux subsystem for Windows.
Hi @agnesfrancois Can you provide the line of code that's giving the problem and the full python error? The package is tested daily with CDO 2.1.1 and Python 3.10.8: https://app.circleci.com/pipelines/github/pmlmodelling/nctoolkit....
OK. Based on the output, nctoolkit's backend CDO does not like the file that much, @agnesfrancois . Is there anyway to share the file? For now, you could try: file...
OK. That's strange. Based on that, you shouldn't be getting the error message. It sounds like there is some issue calling CDO (using subprocess) in nctoolkit. What errors are you...
Can you try the following: import nctoolkit as nc ds = nc.open_thredds("https://psl.noaa.gov/thredds/dodsC/Datasets/COBE/sst.mon.mean.nc") ds.subset(time = 0) ds.plot() If that doesn't work then there must be package mismatch. Also, try: nc.cdo_version() That...
OK. It sounds like something has gone wrong in your conda environment and CDO isn't accesssible from Python. Try this: import subprocess subprocess.Popen("cdo --version", shell = True) You should get...
That suggests the jupyter notebook you are using is not actually from the CDO environment. Check by running this in the notebook conda list You should see CDO in the...
Very strange. Try this in the notebook: ! cdo --version It's possible the Python version being used by the notebook does not actually come from the environment. Did you specify...