Dear Ferret fans,
It seems that "let/like=" and "show attributes" cannot use a quoted name:
yes? let/like='z' rose = 'z'
**ERROR: required variable not in data set: 'z'
yes? show attributes 'z'
**ERROR: variable unknown or not in data set: 'z'
(See below for a full description of the situation.)
Probably I need to find the attributes by "ncdump -h" and copy them manually.
I've downloaded the topography data ETOPO1_Ice_c_gmt4.grd from
The name of the depth/altitude variable is, unfortunately, "z". Although you can plot it by
yes? fill/x=30:31/y=20N:21N 'z'
it doesn't conform to the other ETOPO datasets Ferret includes. So, I wanted to convert the name to the familiar "rose" .
Regards,
Ryo
--------
$ pyferret
NOAA/PMEL TMAP
PyFerret v7.5 (optimized)
Darwin 17.7.0 - 11/14/19
24-Mar-20 11:44
yes? set data ETOPO1_Ice_c_gmt4.grd
yes? show data
currently SET data sets:
1> ./ETOPO1_Ice_c_gmt4.grd (default)
name title I J K L
Z z 1:21600 1:10800 ... ...
yes? let/like='z' rose = 'z'
**ERROR: required variable not in data set: 'z'
yes? show attributes 'z'
**ERROR: variable unknown or not in data set: 'z'
yes?