read 4D binary data

Denis McMahon denismfmcmahon at gmail.com
Thu Nov 26 12:52:16 EST 2015


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 at gmail.com



More information about the Python-list mailing list