[gradsusr] gadxdf error: Missing or invalid dimension size
James T. Potemra
jimp at hawaii.edu
Tue Apr 29 12:20:05 EDT 2014
I think this is the same problem you posted before. If you change the
units on latitude and longitude, sdfopen should work.
The units should be "degrees_north" and "degrees_east".
On 4/29/14, 1:49 AM, Noelia otero wrote:
> Hi ,
> I am having some problems to create and open a descriptor file. I have
> already read post about that, but I can't find the problem.
> This is the information from ncdump -h :
> longitude = 144 ;
> latitude = 73 ;
> Time = 1 ;
> double longitude(longitude) ;
> longitude:units = "degreesE" ;
> double latitude(latitude) ;
> latitude:units = "degreesN" ;
> double Time(Time) ;
> Time:units = "month" ;
> float north(Time, latitude, longitude) ;
> north:units = "days" ;
> north:missing_value = -999.f ;
> north:long_name = "NorthType" ;
> I tried to open the file with sdfopen, and I got the error:
> Scanning self-describing file: file1.nc <http://file1.nc>
> gadsdf: SDF file has no discernable X coordinate.
> then, I created the data descriptor like:
> DSET file1.nc <http://file1.nc>
> UNDEF -999
> TITLE cwt
> XDEF 144 LINEAR 0.0 2.5
> YDEF 73 LINEAR -90 2.5
> TDEF 1 LINEAR jan 1961 1Mo
> OPTIONS yrev
> VARS 1
> north 0 99 north
> and the problem is still happening.. , now the message is:
> Scanning Descriptor File: file1.ctl
> gadxdf error: Missing or invalid dimension size.
> --> The invalid description file record is:
> --> xdef 144 linear 0.0 2.5
> The data file was not opened.
> anyone could give an idea?? I don't know how fix it.
> Thanks in advance
> gradsusr mailing list
> gradsusr at gradsusr.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gradsusr