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


Groups > comp.lang.python > #99591

Re: read 4D binary data

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: read 4D binary data
Date 2015-11-26 17:52 +0000
Organization A noiseless patient Spider
Message-ID <n37gsf$h02$5@dont-email.me> (permalink)
References <mailman.148.1448558147.20593.python-list@python.org>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web