[MITgcm-support] interpolation
Martin Losch
mlosch at awi-bremerhaven.de
Tue Nov 23 19:48:35 EST 2004
Hi Jane,
Ed's suggestion of switching to netcdf output is a very good one. But
just in case you want to stick with the old output (because you don't
want to or can not regenerate your pickup), have a look at the routine
where the pickup is written. You'll find the code in
model/src/checkpoint.F, in the part after
#else /* OLD_STYLE_WITH_MANY_FILES */
There you'll see that your ?,??,??? are the tendency terms for u,v,T,S
and X, XX are probably the tendencies for the non-linear free surface
(depends on what you use). Everything is 3D excep for Eta-related
terms.
Again, I think in the long run, it is better to follow Ed's suggestion
with the NetCDF, much easier to understand what's in the files.
Martin
On Nov 23, 2004, at 7:23 PM, Ed Hill wrote:
> On Tue, 2004-11-23 at 17:44 -0500, Jane Jimeian wrote:
>> we want to interpolate from a coarse grid to a finer grid and restart
>> from
>> a pickup file. does anybody have a matlab script or a subroutine
>> that does
>> this. if not, can someone explain the structure of the pickup file?
>> we
>> think it is U,?,V,??,T,W,S,???,Eta,X,XX where ?, ??, ??? are 3-D
>> fields that
>> we don't recognize and X, XX are 2-D field that apparently don't
>> matter to
>> us. help will be appreciated.
>
>
> Hi Jane,
>
> If you switch to NetCDF for your output, then the structure of the
> pickup files is *very* easy to understand. And the reading of NetCDF
> pickup files is working--people here are using it.
>
> To get started using the MNC/NetCDF interface, please see the examples
> in MITgcm/verification. All you need to do is:
>
> 1) add "mnc" to your current "packages.conf" file
> 2) copy over one of the "data.mnc" files from the
> examples in MITgcm/verification
> 3) modify the "data.mnc" file to suit your needs
>
> and thats it!
>
> Ed
>
> --
> Edward H. Hill III, PhD
> office: MIT Dept. of EAPS; Rm 54-1424; 77 Massachusetts Ave.
> Cambridge, MA 02139-4307
> emails: eh3 at mit.edu ed at eh3.com
> URLs: http://web.mit.edu/eh3/ http://eh3.com/
> phone: 617-253-0098
> fax: 617-253-4464
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list