Re: re-gridding bianary file

From: Bidyut Bikash Goswami <bidyut_at_nyahnyahspammersnyahnyah>
Date: Sun Jun 02 2013 - 21:06:56 MDT

Hi,
Thank you for your mail. Following are the details of my binary data file.

 [1] What type of binary? flat binary or fortran sequential binary? => flat (access='direct')
 
 [2] What 'endian' is the binary? Big-Endian or Little-Endian? => Big-Endian
 
 [3] Is the ordering (lat x lon x lev x time) below from a fortran program? => YES (144 x 73 x 17 x 7300)
 
 [4] Is the grid rectilinear or curvilinear? => Rectilinear ( Actually I have two data sets 1x1 degrees and 2.5x2.5 degrees which I want to re-grid to 2x2 degrees. I used xconverter [http://badc.nerc.ac.uk/help/software/xconv/], but it is failing due to large data size.)

Regards,
Bidyut

----- Original Message -----
| From: "Dennis Shea" <shea@ucar.edu>
| To: "Bidyut Bikash Goswami" <bidyut@tropmet.res.in>
| Cc: "ncl-talk" <ncl-talk@ucar.edu>
| Sent: Saturday, June 1, 2013 6:04:27 PM
| Subject: Re: re-gridding bianary file
| This question is so general it is difficult to respond
|
| [1] What type of binary? flat binary or fortran sequential binary?
|
| [2] What 'endian' is the binary? Big-Endian or Little-Endian?
|
| [3] Is the ordering (lat x lon x lev x time) below
| from a fortran program?
|
| [4] Is the grid rectilinear or curvilinear?
|
| ===
| Generic approach for a rectilinear grid. Note: you must
| read the documentation for the functions.
|
| (a) read binary file via 'fbinrecread' or 'fbindirread'
| (b) for a rectilinear grid use 'linint2'
| (c) binary: write the regridded file vi 'fbinrecwrite' or
| 'fbindirwrite'
| netCDF: see http://www.ncl.ucar.edu/Applications/method_1.shtml
|
|
|
| On 6/1/13 4:12 AM, Bidyut Bikash Goswami wrote:
| > Dear All,
| >
| > How to re-grid a binary file (dimension : lat x lon x lev x time)
| > and write it in a file?
| >
| > Thanks,
| > Bidyut
| > _______________________________________________
| > ncl-talk mailing list
| > List instructions, subscriber options, unsubscribe:
| > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
| >
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jun 2 21:22:26 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT