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

Lara Quitián Hernández laraquitianhernandez at gmail.com
Mon Jun 3 04:32:03 MDT 2019


Hi!

I did not know that command! Thanks a lot. But I'm afraid I have another
problem. I received this error message: "Segmentation fault (core dumped)".
It seems to be a memory problem. What should I do?
Each file has a 223MB size. It isn't so much, isn't it?

Best regards,
Lara

El lun., 3 jun. 2019 a las 11:57, Lyndz (<olagueralyndonmark429 at gmail.com>)
escribió:

> 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
>>
>

-- 


*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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190603/8fae03e5/attachment.html>


More information about the ncl-talk mailing list