[gradsusr] gadsdf: SDF file has no discernable X coordinate
James T. Potemra
jimp at hawaii.edu
Mon Jan 27 13:22:18 EST 2014
Noelia,
You have the change the units to "degrees_north" for latitude and
"degrees_east" for longitude, not just "degrees" for both. I believe if
you do that you'll be able to "sdfopen" your file without needed a ctl
file. Try with the attached file.
Jim
On 1/26/14 11:05 PM, Noelia otero wrote:
> Hi Jim,
>
> Thanks for your answer. I tried to change the units as you suggested,
> just like "degrees" (for both lon and lat), but it doesn't work. I'd
> like to attach my file (this is another file similar, created from R)
> and I also attach the data descriptor that I made.
>
> This is the output from ncdump -c :
> netcdf north {
> dimensions:
> long = 25 ;
> lati = 17 ;
> variables:
> double long(long) ;
> long:units = "degrees" ;
> double lati(lati) ;
> lati:units = "degrees" ;
> double north(lati, long) ;
> north:units = "Pa" ;
> north:missing_value = -999. ;
> data:
>
> long = -20, -17.5, -15, -12.5, -10, -7.5, -5, -2.5, 0, 2.5, 5, 7.5, 10,
> 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30, 32.5, 35, 37.5, 40 ;
>
> lati = 70, 67.5, 65, 62.5, 60, 57.5, 55, 52.5, 50, 47.5, 45, 42.5,
> 40, 37.5,
> 35, 32.5, 30 ;
> }
>
> Any idea about how it's happening?
> Many thanks in advance!!
>
> Cheers,
>
> Noelia
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140127/7441c3fb/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: north.nc
Type: application/x-netcdf
Size: 4208 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140127/7441c3fb/attachment.nc
More information about the gradsusr
mailing list