[Thread Prev][Thread Next][Index]

Re: [ferret_users]



Hi,
Bruno is correct. The period in the variable name isn't within Ferret's rules for variable names. Here's the reference:

http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/variables-xpressions/VARIABLES#_VPINDEXENTRY_filevars

You can use this data as-is, by putting the variable name into single quotes.  You must also give the same upper- or lower-case spelling as what's in the dataset.
yes? fill 'ALAD.2010122040'

Ansley

On 2/6/2013 6:55 AM, Bruno Levier wrote:
Hello

It seems to be due to the dot in the name of the variable.

ncrename -v alad.2010122040,alad_2010122040 FDalad.2010122040.nc

yes? use FDalad.2010122040.nc
yes? sho da
     currently SET data sets:
    1> ./FDalad.2010122040.nc  (default)
 name     title                             I         J         K         L         M         N
 ALAD_2010122040
          Frost days index is the number   1:58      1:37      1:1       1:1       ...       ...
 
yes? fill ALAD_2010122040
yes?

Bruno

Le 02/06/2013 02:49 PM, Peter Szabo a écrit :
Hello Users,

Does anybody know why Ferret is acting as if there was no variable in my file, even though it says so. Also, the error message appears twice.
I attach the actual file.

Thanks, Peter

---
yes? use "paks/data/output/FDalad.2010122040.nc"
 *** NOTE: If no missing_value or _FillValue attribute on variables, will use NaN
yes? sh data
     currently SET data sets:
    1> paks/data/output/FDalad.2010122040.nc  (default)
 name     title                             I         J         K         L
 ALAD.2010122040
          Frost days index is the number   1:58      1:37      1:1       1:1
 
yes? fill ALAD.2010122040
 **ERROR: variable unknown or not in data set: ALAD.2010122040
 
 **ERROR: variable unknown or not in data set: ALAD.2010122040



Click here to report this email as spam.




[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement