Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99589 > unrolled thread

read 4D binary data

Started byjorge.conrado@cptec.inpe.br
First post2015-11-26 15:15 -0200
Last post2015-11-26 17:52 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  read 4D binary data jorge.conrado@cptec.inpe.br - 2015-11-26 15:15 -0200
    Re: read 4D binary data Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-26 17:52 +0000

#99589 — read 4D binary data

Fromjorge.conrado@cptec.inpe.br
Date2015-11-26 15:15 -0200
Subjectread 4D binary data
Message-ID<mailman.148.1448558147.20593.python-list@python.org>
Hi,


I'm startig in Python and I have a 4D binary data. The dimension of my 
data is:

67 ----> longitude points
41 ----> latitude points
10 ----> pressure levels points
33 ----> time points


How can I read this data and what can I do to get a 2D array 
(longitude,latitude) for a specific pressure  and time dimension.


Conrado

[toc] | [next] | [standalone]


#99591

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2015-11-26 17:52 +0000
Message-ID<n37gsf$h02$5@dont-email.me>
In reply to#99589
On Thu, 26 Nov 2015 15:15:43 -0200, jorge.conrado wrote:

> I'm startig in Python and I have a 4D binary data. The dimension of my
> data is:
> 
> 67 ----> longitude points 41 ----> latitude points 10 ----> pressure
> levels points 33 ----> time points
> 
> How can I read this data and what can I do to get a 2D array
> (longitude,latitude) for a specific pressure  and time dimension.

First of all, define the data structure you want to create.

I would have thought that for any given time, you would want a 2d array 
containing the pressure at each point (given by lat and lon) at that time.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web