Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: jorge.conrado@cptec.inpe.br Newsgroups: comp.lang.python Subject: 4D arrays Date: Tue, 01 Dec 2015 15:21:47 -0200 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de YHsDjgwkUE7tWHDghy9zWQ7geaoDoisbTn+zP0MFuJaQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.077 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.01; 'received:150': 0.09; 'python': 0.10; 'python.': 0.11; 'received:io': 0.16; 'received:psf.io': 0.16; 'header:User-Agent:1': 0.26; 'array': 0.29; "i'm": 0.30; 'level': 0.35; 'but': 0.36; 'to:addr:python- list': 0.36; 'charset:us-ascii': 0.37; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'from:no real name:2**0': 0.60; 'received:br': 0.66; 'skip:4 20': 0.91 X-Virus-Scanned: Debian amavisd-new at tornado X-PHP-Originating-Script: 33:rcube.php X-Sender: jorge.conrado@cptec.inpe.br User-Agent: Roundcube Webmail/1.0.3 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99806 Hi, I use the IDL but now I'm change to PYTHON. I have a 4D array (time, level,lon,lat). I would like to get a 2D array for a specific time (time1) and level (level1). In IDL I use: 2Darray = 4Darray(time1,level1,*,*). How can I get the 2D array in Python Conrado