[Thread Prev][Thread Next][Index]
[ferret_users] How to save NetCDF data on curvilinear grid?
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] How to save NetCDF data on curvilinear grid?
- From: Szymon Roziewski <szymon.roziewski@xxxxxxxxx>
- Date: Wed, 02 Mar 2011 18:33:21 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=VNT2u5AnY62gDkV2fytJplDOiREIfOcaAFM5j9+o1a4=; b=GwBI9njxAyVhkYVIIeNGc45FYIQ2auFJ20u3nnm0jKSUjikIZlzhTgUxop1PaGPPn1 JzMuyRe/F0CXiKxHDACHiwEbqn7X6bNiNPFZBYJSaWF3e4QyBwQUnrC/tnSpv2IF7Y4/ eU/o/5OuNOdiwZWq/8+fHuZ+hCPJMZgOueCac=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=I94Mxp9PVzpBucCSGzG0LdNKucDv3Rkl8xziNzb8LpEgthfBfWpcQXxlMD4ipN+UfD lg8iPoovY0Q3yPu1ot8sULa7Ck6Zwhkrw546Jy5eSsbN5g6Bv5nUZqBfHr+2LjP2ASib vyKQuD/+Nn0TMhUSBW1tRpCDTz9ivcTWWl4XQ=
- Sender: owner-ferret_users@xxxxxxxx
Hi Ferreters!
I'm trying to save some data in 660 colums and 750 rows matrix which is defined on curvilinear grid but I don't know how to do.
This is my ferret script:
DEFINE AXIS/x=1:660:1 xaxis
DEFINE AXIS/y=1:750:1 yaxis
DEFINE GRID/x=xaxis/y=yaxis gridlonlat
FILE/VARIABLES=rose/COLUMNS=660/GRID=gridlonlat warnTopography660x750_1space.dat
FILE/VARIABLES=clon_in/COLUMNS=660/GRID=gridlonlat LonIcmWarn660x750.dat
FILE/VARIABLES=clat_in/COLUMNS=660/GRID=gridlonlat LatIcmWarn660x750.dat
set var/title="LONGITUDE" clon_in[d=2]
set var/title="LATITUDE" clat_in[d=3]
save/clobber/file=Warn_in_ICM_Topography.nc rose[d=1],clon_in[d=2],clat_in[d=3]
First of all I read the data on some abstract grid (660x750) i.e. rose (main data), clon_in (matrix of curvilinear longitudes), clat_in (matrix of curvilinear latitudes).
Afterwards, I would like to save the rose data on curvilinear grid e.g. rose(clon_in, clat_in) as NetCDF file.
How could I manage to do that?
Kind regards,
Szymon Roziewski
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement