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

Trouble with u,v sponges

I tried the sponges in my Arctic domain and it's running with just T,S sponges, failing with u,v sponges:
FATAL from PE 229: external field u does not have an associated record dimension (REQUIRED)
Odd because I have 12 records of all four fields.
 
Now it wants the u,v fields on the tracer points. I'd been told that, but hadn't thought that someone would give me u,v on u,v points when they knew that. The tracer sponges use
horiz_interp_and_extrap_tracer_record and now the u,v sponges do too. Maybe it's time for changes to the sponge code if the sponges are provided on the native grid.
 

MattHarrison

Matthew Harrison
New Member
Now it wants the u,v fields on the tracer points. I'd been told that, but hadn't thought that someone would give me u,v on u,v points when they knew that. The tracer sponges use
horiz_interp_and_extrap_tracer_record and now the u,v sponges do too. Maybe it's time for changes to the sponge code if the sponges are provided on the native grid.

u,v sponges are currently assumed to be provided on the tracer grid and shifted to the staggered locations in the sponge routine. This is causing a problem in regional cases since the values on the tracer grid external to the model domain are not given , hence the values at the edges are wrong. Values should instead be coming into the sponge routine on the C-grid locations. I think we should make this change , but how much of the original code should we support?
 
There is a PR on github for the u,v sponges, fixing the tile boundary issue I was having. Whether we should redo the horiz_interp_and_extrap_tracer_record code for u,v points is a separate discussion.
 
Top