Closed graceebc9 closed 2 years ago
Seems like this issue was fixed in PR #666, and would be in parcels v2.1.3
onwards. Could you print(parcels.__version__)
to check which version, and update as required?
Thanks! I have version 2.0. I'm having trouble updating - originally I had to pip install as none of the conda channels work. Nor does 'conda create -n py3_parcels -c conda-forge parcels jupyter cartopy ffmpeg ' - I get a '``` packagesNotFoundError: The following packages are not available from current channels:
Could you try conda config --append channels conda-forge
(which will add the conda-forge
channel to conda).
Then conda create -n py3_parcels -c conda-forge parcels jupyter cartopy ffmpeg
should work.
I already have the conda forge channel I think -
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch
I tried re running your two commands but still didnt work
Ah I see. Looking at the channels, I think that you're running off Apple's new CPU (hence osx-arm64
and not osx-64) and parcels isn't listed on their conda forge as supporting this architecture.
From the end of discussion #1080, it seems that there shouldn't be anything preventing parcels from working off the new architecture. Maybe @erikvansebille could shed some more light onto this?
Sorry, I don't know enough to devise a workaround for you in the meanwhile 😢
Thanks for posting out that osx-arm is not listed at https://anaconda.org/conda-forge/parcels; perhaps @willirath can help us to support that too? I'll look into it as well
In the meantime, v2.0 is far too old to work with so not surprising that you're running into problems, @graceebc9. There are two things you can try to install a newer version until we've added osx-arm to the conda-forge:
Thanks! I installed the developer version and field set is now working :)
Hello, I am loading in a NetCDF of ocean currents into a fieldset but getting the following error
The neetcdf looks like this in xarray
I am trying to replicate a tutorial, and my code is