Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

printing wrf output in ascii file

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Nefeli

New member
Hello everyone,

Lately I am working on converting/printing the wrf output on .dat files. I need to have the u and v components in an ascii file in order to have them as input for another model. However, I am not sure how this can be done with NCL.

Any help is highly appreciated!.

Thank you in advance.

Nefeli
 
Hi Nefeli,

This site has some great examples of printing to ascii:

http://www.ncl.ucar.edu/Applications/write_ascii.shtml

'write_matrix' works very well. asciiwrite can be a bit messier, but works for what you would need to do.

-wrfhelp-
 
Top