NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [python-users] Help me Surface Charts

Thank you very much!

El mar, 24 ago 2021 a las 17:56, Ken Harris (<kjh@xxxxxxxxxxx>) escribió:

> Alexander :
>
> Attached is a little "command line" python script I wrote.  It uses
> xarray and metpy.declarative.
>
> You can make a MSL chart by running it as :
>
> python xarray-declarative-2.py --nwpfield Pressure_reduced_to_MSL_msl -a
> opcahsf
>
> ... or "500 mb" chart with :
>
> python xarray-declarative-2.py -f Geopotential_height_isobaric -l '500
> hPa' -a opcahsf
>
> The default is to make a chart closest to the current time.  You can
> specify the "--reftime" with a command line option.  If you specify in
> the future, it will use a forecast. For example :
>
> python xarray-declarative-2.py --nwpfield Pressure_reduced_to_MSL_msl
> -a opcahsf --reftime 2021-08-23T00:00
>
> It uses the thredds "Best" time to get the most "best" reftime and
> valid time.  There is a poster that explains this ... which I can't
> seem to find right now.
>
> Sorry ... I don't print the reftime / valid time on the plot.  I can
> try to figure that out if you want.
>
> Thanks,
> Ken
>
> On Tue, Aug 24, 2021 at 1:00 PM Alexander Martínez
> <almmartinezme@xxxxxxxxx> wrote:
> >
> > Hello.I made an example of the surface chart linking
> https://github.com/Unidata/python-training/blob/master/pages/gallery/HILO_Symbol_Plot.ipynb,
> but the Thredds catalog has data from 2014 and not data from August 2021. I
> also have problems with the pressure levels because the colors of the high
> and low pressures are not displayed.
> >
> > Could you please show me an example of a surface chart for the area, but
> with data from August 23?
> >
> > Thank you very much for your collaboration and I remain attentive to
> your instructions.
> >
> >
> >
> > --
> > Alexander M. Martínez Mercado
> > Lic. en Química
> > Universidad Distrital Francisco José de Caldas
> > MSc en Ciencias - Meteorología
> > Universidad Nacional de Colombia
> > Docente MT UECCI
> > OSPA - IDEAM
> > _______________________________________________
> > NOTE: All exchanges posted to Unidata maintained email lists are
> > recorded in the Unidata inquiry tracking system and made publicly
> > available through the web.  Users who post to any of the lists we
> > maintain are reminded to remove any personal information that they
> > do not want to be made public.
> >
> >
> > python-users mailing list
> > python-users@xxxxxxxxxxxxxxxx
> > For list information, to unsubscribe, or change your membership options,
> visit: https://www.unidata.ucar.edu/mailing_lists/
>


-- 
Alexander M. Martínez Mercado
Lic. en Química
Universidad Distrital Francisco José de Caldas
MSc en Ciencias - Meteorología
Universidad Nacional de Colombia
Docente MT UECCI
OSPA - IDEAM
  • 2021 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the python-users archives: