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

Alternative to interpolate_output for fv dycore?

teopb

Teo Price-Broncucia
New Member
Hello,

I would like to output a history file on a reduced size lat/lon grid. I found instructions on how to use the interpolate_output namelist variable, which would seem to do roughly what I want but it does not appear to work with the fv dycore, yielding the following error:

ERROR: interpolate_output is not supported for fv dycore

Though after a clean build on the relevant case it did run but then quickly segfaulted when trying to write the history files so not sure what that means.

Is there a good way to accomplish this? 'This' being writing to a history file at a much lower resolution than the model is run at to prevent having to save needlessly large files just to have to convert them down later for some post analysis tasks?

Thanks!
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
The flag interpolate_output works to interpolate from the Spectral Element grid to the Finite Volume grid.
For instance to interpolate the file h0, h1, h2 and h3 from ne30 to f09, you would set:

interpolate_output = .true.,.true.,.true.,.true.
interpolate_nlat = 192,192,192,192
interpolate_nlon = 288,288,288,288


But I am not sure if works from one fv grid to a coarser fv grid.
 

teopb

Teo Price-Broncucia
New Member
Hi Cecile,

Thank you for your response. That squares with my understanding of its behavior. It seems to fail when trying to go from a fv grid to a coarser grid. Do you know of any alternative approaches? Not sure if this is a task better suited to post-processing.

Thanks!
 

goldy

AMP / CGD / NCAR
Staff member
The interpolate_output is a special purpose code for the spectral element dycore. The documentation should mention that.
At the current time, CAM does not have any general inline processing to perform this sort of interpolation.
 
Top