[Thread Prev][Thread Next][Index]

Re: [ferret_users] Re: query regarding variable name same as axis




Hi Saurabh,

You can handle problematic variables like this within Ferret by enclosing the name in single quotes or renaming with set/var/name=newname 'problemname'

http://ferret.pmel.noaa.gov/Ferret/faq/reserved-keywords



Russ

On 03/08/16 20:40, saurabh rathore wrote:
Dear Ferreters,

PLEASE NOTE :- IN MY PREVIOUS MAIL I MADE A MISTAKE WHILE TYPING PLEASE IGNORE THE PREVIOUS MAIL AND CONSIDER THIS MAIL FOR SUGGESTIONS, THANKS


currently i am using the data of geopotential height in this data the variable name is define as Z which is same as z axis name. so ferret is misinterpreting this variable with z axis. i tried to use this variable by storing it into a new variable but that was NOT worked. i think it is somewhat tricky to extract this variable. i hope i will get the solution for how to solve this issue.

this is my data description

name     title                                     I         J             K           L         M         N
 Z        Geopotential                     1:360     1:141       1:4       1:1320     ...       ...
 
yes? sh gr z
    GRID ZABSTRACT
 name       axis                    # pts   start                end
 normal    X
 normal    Y
 ABSTRACT  Z             99999999 r   1                    1.E+08
 normal    T
 normal    E
 normal    F

regards, saurabh

On Wed, Aug 3, 2016 at 4:02 PM, saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
Dear Ferreters,

currently i am using the data of geopotential height in this data the variable name is define as Z which is same as z axis name. so ferret is misinterpreting this variable with z axis. i tried to use this variable by storing it into a new variable but that was worked. i think it is somewhat tricky to extract this variable. i hope i will get the solution for how to solve this issue.

this is my data description

name     title                                     I         J             K           L         M         N
 Z        Geopotential                     1:360     1:141       1:4       1:1320     ...       ...
 
yes? sh gr z
    GRID ZABSTRACT
 name       axis                    # pts   start                end
 normal    X
 normal    Y
 ABSTRACT  Z             99999999 r   1                    1.E+08
 normal    T
 normal    E
 normal    F

regards, saurabh

--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434



--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434


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

Privacy Policy | Disclaimer | Accessibility Statement