[MITgcm-support] Bathymetry file

smaeilpour saeid_gal at yahoo.com
Thu Mar 23 15:57:58 EDT 2017


thank you dan,
that's great, i got it this time.

Best,
--------------------------------------------
On Thu, 3/23/17, Daniel Goldberg <dngoldberg at gmail.com> wrote:

 Subject: Re: [MITgcm-support] Bathymetry file
 To: mitgcm-support at mitgcm.org
 Date: Thursday, March 23, 2017, 3:49 PM
 
 Hi
 Saeid
 If you are using
 matlab, note that the ordering of the x and y dimensions is
 opposite what is needed in your binary file. So if you have
 a bathymetry array in matlab, you should do the transpose
 operation before writing it to a binary file. (which is not
 the same as rotating three times.)
 dan
 On Thu, Mar 23, 2017 at
 7:03 PM, Menemenlis, Dimitris (329C) <Dimitris.Menemenlis at jpl.nasa.gov>
 wrote:
 
 
 
 
 
 http://mitgcm.org/public/r2_
 manual/latest/online_ documents/node102.html
 
 
 
 
 On Mar 23, 2017, at 7:10 AM, smaeilpour <saeid_gal at yahoo.com>
 wrote:
 
 
 
 Hi everyone,
 
 I have a question, to build a bathymetry file, is it
 necessary to rotate file 90 degrees and three times before i
 convert it to a binary file?
 
 any advice will be greatly appreciated.
 
 
 
 Regards,
 
 Saeid
 
 
 
 
 
 
 
 
 
 
 
 ______________________________
 _________________
 
 MITgcm-support mailing list
 
 MITgcm-support at mitgcm.org
 
 http://mitgcm.org/mailman/
 listinfo/mitgcm-support
 
 
 
 
 
 -- 
 
 Daniel Goldberg, PhD
 Lecturer in GlaciologySchool of
 Geosciences, University of Edinburgh
 Geography Building, Drummond
 Street, Edinburgh EH8 9XP
 
 
 em: Dan.Goldberg at ed.ac.uk
 web: http://ocean.mit.edu/~dgoldberg
 
 -----Inline Attachment Follows-----
 
 _______________________________________________
 MITgcm-support mailing list
 MITgcm-support at mitgcm.org
 http://mitgcm.org/mailman/listinfo/mitgcm-support
 



More information about the MITgcm-support mailing list