[ncl-talk] Write the input variables on an ASCII file

Lyndz olagueralyndonmark429 at gmail.com
Mon Jun 3 03:57:10 MDT 2019


Hi,

If I got your question correctly, I think you dont need to read the file.

ncl_filedump PFHARMOPHELIA+0084.grib  >  PFHARMOPHELIA+0084.txt

-----

Lyndz

On Mon, Jun 3, 2019 at 4:53 PM Lara Quitián Hernández <
laraquitianhernandez at gmail.com> wrote:

> Good morning,
>
> I'm working with a specific model output file (grib format). I would like
> to write all the available variables of my input file on an ASCII file.
> Could you please help me with the function that does that?
>
> I'm now using the print() function but it would be easier to have the
> ASCII file saved on my computer.
>
>
>
>
> *; read file;************************************************file =
> addfile("../PFHARMOPHELIA+0084.grib", "r")print(file)*
>
> Thanks in advance.
> Best regards
>
> Lara
>
> --
>
>
> *Lara Quitián Hernández, PhD Student*
> Department of Earth Physics and Astrophysics
> Faculty of Physical Sciences
> Ciudad Universitaria, Plaza Ciencias, 1
> 28040 Madrid. Spain
> Email: lquitian at ucm.es <mlunar at aemet.es>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190603/d22c1fe4/attachment.html>


More information about the ncl-talk mailing list