[Thread Prev][Thread Next][Index]
[ferret_users] arithmetics not working on a variable (broken netCDF file?)
Hi Ferret users,
I seem to have created a strange netCDF file:
http://iprc.soest.hawaii.edu/~furue/tmp/tmp.nc
with which you can plot the variable
shade/k=1/l=1 tdmb
but not if you do some arithmetics with it
shade/k=1/l=1 tdmb*10
**ERROR: dimensions improperly specified: must be a 2D region
shade/k=1/l=1 tdmb*10
If you define a new variable
let a = tdmb*10
that can be plotted. I'm attaching a complete listing below.
There must be something "interesting" about the file,
but I don't know what it is.
Regards,
Ryo
====================================
$ ferret
NOAA/PMEL TMAP
FERRET v6.2
Linux(g77) 2.4.21-32 - 05/19/09
25-Aug-09 15:49
set mode grat:dash
set memory/size=400
Cached data cleared from memory
keymark 1
yes? set data tmp.nc
*** NOTE: Ignored modulo length exceeding axis length: lont
*** NOTE: Ignored modulo length exceeding axis length: lonv
*** NOTE: Evenly spaced axis has edges definition: dept - ignored
yes? show data
currently SET data sets:
1> ./tmp.nc (default)
name title I J K L
TDMB 1:1 1:100 1:40 1:1
yes? shade/k=1/l=1 tdmb
yes? shade/k=1/l=1 tdmb*10
**ERROR: dimensions improperly specified: must be a 2D region
shade/k=1/l=1 tdmb*10
yes? let a = tdmb*10
yes? shade/k=1/l=1 a
yes?
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement