comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Assigning Coordinates in NetCDF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Assigning Coordinates in NetCDF [message #64206] Fri, 05 December 2008 09:05
bryan.s.hong is currently offline  bryan.s.hong
Messages: 12
Registered: November 2008
Junior Member
I'm creating a netcdf file, which contains a spatial image (100X100)
as follows.

data=ncdf_create(filename,/clobber)
xid=NCDF_DIMDEF(data, 'west_east', 100)
yid=NCDF_DIMDEF(data, 'south_north', 100)
image=ncdf_vardef(data, 'IMAGE', [xid,yid],/float)
NCDF_CONTROL, data, /ENDEF

sample=findgen(100,100)
NCDF_VARPUT, data, image, sample
NCDF_CLOSE, data
end

Then I'd like to assign a coordinate for every grid pixel such as
cartisan coordinate with a spatial resolution. Could you give me a tip
about this? Thanks.

Bryan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: interpolation for resizing
Next Topic: Re: Irregular Satellite data plotting

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 10 08:39:05 PDT 2026

Total time taken to generate the page: 1.92155 seconds