Closed haze1986 closed 2 years ago
geo_borders_intermed.nc is in FerretDatasets, so updating your dataset installation from https://github.com/NOAA-PMEL/FerretDatasets should resolve this.
Thanks for this, I used the latest version and verified the file is there and when I run "use geo_borders_intermed.nc" I get the error **TMAP ERR: non-existent or not on line /usr/share/ferret-vis/data/geo_borders_intermed.nc
If you are referring to the version, do you mind sharing which version do I need to be on? v7.5 is fine?
I have problems installing v7.6 on my ubuntu system as I cant run python 3.6 on it
Hello,
Update your installation of the datasets. The current release is found at
https://github.com/NOAA-PMEL/FerretDatasets/releases/tag/v7.6
This should solve your problem for any PyFerret version.
Ansley
On Thu, Apr 21, 2022, 8:26 PM haze1986 @.***> wrote:
Thanks for this, do you mind sharing which version do I need to be on? v7.5 is fine?
I have problems installing v7.6 on my ubuntu system as I cant run python 3.6 on it
— Reply to this email directly, view it on GitHub https://github.com/NOAA-PMEL/PyFerret/issues/96#issuecomment-1105965478, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZLFOLGVDSZH6NCR62J3MLVGIL6PANCNFSM5GUGLPZA . You are receiving this because you commented.Message ID: @.***>
Hmm still did not work for me. I am using the latest release of the datasets. It works for ferret but not pyferret
The datasets installation and handling is the same whether you are using Ferret or PyFerret. It seems that you have different datasets directories for the two programs, so that your PyFerret installation is not using the same data directory as your Ferret installation. From a Ferret session, see where the file used by "go land_detail" is
yes? use geo_borders_intermed yes? show data
This will list the file with its path.
Now, run PyFerret, and see where datasets are being found. The dataset that "go land" uses, is geo_borders.cdf:
yes? use geo_borders
Compare the paths. You could either copy geo_borders_intermed.nc from the location where Ferret finds it, to the location where PyFerret finds geo_borders.cdf, or you could change your PyFerret environment so that the environment variable FER_DSETS includes the same directory that Ferret uses.
**TMAP ERR: non-existent or not on line Searched $FER_DESCR and $FER_DATA for geo_borders_intermed(.nc ,.cdf,.des)
This works in normal ferret but not pyferret