Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Visualization of CAM restart field


Hello everyone,

I would like to see a CAM's master restart field with ne30np4 horizontal resolution. Is there anyone who knows tell me a way to display a field described by ncol_d = 86400?
In attachment you will find the ncdump of the CAM restart file.

Many thanks in advance for the help!
Andrea
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
In NCL, there are visualization tools to draw contours of data on an unstructured grid (like Spectral element).
See: https://www.ncl.ucar.edu/Applications/EGU2013/There are also tools in ncl that allows to regrid from an unstructured grid to a lat/lon grdi:
https://www.ncl.ucar.edu/Applications/ESMF.shtml
 
Sure, I know that tool, but I want to display some field like T (see file attached in the previous post) that is described differently from the rest of other variables listed. How can I do the plot of T field if I don't have any lat/lon reference that describe the particular grid?
 

eaton

CSEG and Liaisons
The easiest thing would be to just have your graphics code read the lat/lon values from a history file.  Or you could use NCO operators to extract the lat/lon from a history file and glue them into a restart file.  The restart file doesn't contain lat/lon because it doesn't need it, and it's not designed for visualization purposes. 
 
Top