I'm trying to do something that at first glance I think should be simple
but I can't quite figure out how to do it. The problem is as follows:
I have a 3D grid Values[Nx, Ny, Nz]
I want to slice Values at a 2D surface in the Z dimension specified by
Z_index[Nx, Ny] and return a 2D slice[Nx, N
Hello,
I am loading in data from the GRIB2 files using PyNIO. Once I load them
into numpy arrays I am left with a halo of values near the array
boundaries that appear to be empty. When I print them or use them in
conditional statements I see values of '--'. I'd like to turn these
values into
trying to index a
1D array with a 2D array.
On 2/14/11 5:24 PM, Robert Kern wrote:
On Mon, Feb 14, 2011 at 16:21, Bryan Woods wrote:
I have spent over an hour now trying to figure out what I thought would be a
really basic conditional array assignment. I am very new to python and am in
need o
I have spent over an hour now trying to figure out what I thought would
be a really basic conditional array assignment. I am very new to python
and am in need of help.
I have a 2D integer array of land cover classes and a 1D array with a
roughness value for each class. I am trying to create a