[gradsusr] Descriptor file for binary data

Rekha Bharali rekha.bharali06 at gmail.com
Wed Mar 25 07:08:03 EDT 2015


Hi Ipshita

>From your first mail I got the following information:

(1)The file is a matrix with 110 rows and 52 columns.


But from you recent mail I found

XDEF 1
YDEF 1

I think if your matrix is of size 110 by 52 so please try

XDEF 110
YDEf    52

or whatever your x,y dimension is.

With regards
Rekha
Scientist
NESAC
Meghalaya
On 3/24/15, Ipshita Majhi <ipmajhi at alaska.edu> wrote:
> Hi,
>
> I did change it and it works now, but the display does not work, it just
> gives a value and plots nothing.
> Thank you for the support
> Ipshita
>
> On Tue, Mar 24, 2015 at 1:18 AM, M.Mahakur <mmahakur at tropmet.res.in> wrote:
>
>> can you please try by changing
>>
>> p  0   557733.125  snow covered extent (km2)
>>
>> to:
>>
>> p  0   99  snow covered extent (km2)
>>
>> ----- Original Message -----
>> From: Ipshita Majhi <ipmajhi at alaska.edu>
>> To: GrADS Users Forum <gradsusr at gradsusr.org>
>> Sent: Tue, 24 Mar 2015 11:06:11 +0530 (IST)
>> Subject: [gradsusr] Descriptor file for binary data
>>
>> Dear Users,
>> I want to create a descriptor file for a very simple array. I wrote one
>> but
>> it keeps giving me error also it does not take the date correctly. I have
>> 2444 long array.
>> I am not sure how to create the right time sequence since it is a weekly
>> mean data with a single variable and no lat lon info in it. Do I need to
>> convert it into another type of data to create the descriptor file.Here
>> is
>> a sample of my descriptor file.
>>
>> DSET ^sce.dat
>> *
>> UNDEF -9999.
>> *
>> TITLE Snow Cover extent
>> * Weekly mean snow cover extent 1 Jan 1967 - 31 Dec 2013
>> * Snow cover in
>> *
>> XDEF    1  LINEAR   1    1
>> *
>> YDEF    1  LINEAR   1    1
>> *
>> ZDEF    1  LINEAR   1    1
>> *
>> TDEF 2444  LINEAR 1jan1901 7dy
>> *
>> VARS  1
>> p  0   557733.125  snow covered extent (km2)
>> ENDVARS
>>
>>
>>
>> --
>> Ipshita Majhi
>> PhD Candidate
>> University of Alaska , Fairbanks
>> Atmospheric Science Department
>> (907)978-4220 ipmajhi at alaska.edu
>>
>>
>>
>
>
> --
> Ipshita Majhi
> PhD Candidate
> University of Alaska , Fairbanks
> Atmospheric Science Department
> (907)978-4220 ipmajhi at alaska.edu
>


-- 
.......................................................................
Rekha Bharali Gogoi
Scientist 'SC'
NE-SAC
Dept. of Space
Govt. of India
Meghalaya


More information about the gradsusr mailing list