[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #PHR-160601]: MetPy Help


Yes, I have access to cheyenne, that should be fine for sharing the file.


> Hi Ryan,
> Thank you for the suggestion. Unfortunately, I am still getting the same
> error message. I even made "levs" an np.array. Would you be able to get a
> grib file if I stage it on cheyenne?
> address@hidden> wrote:
> > Greetings!
> >
> > My first (and right now only) guess is that you need to convert your u/v
> > collections from lists to arrays. Easiest way is probably to change the
> > lines that attach units to:
> >
> >     u = np.array(u) * units('m/s')
> >     v = np.array(v) * units('m/s')
> >
> > If that doesn't help, can you post a sample input grib file somewhere I
> > can grab it?

Ticket Details
Ticket ID: PHR-160601
Department: Support Python
Priority: Low
Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.