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

Adding new field in control 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.

mattjcm900

New member
I'm using UPPV4.0 to post-process my WRF simulations (WRF4).
By reading the user guide I noticed that is possible to add a new entry in the control file.
I read in the table of "GRIB1 Fields Produced by Unipost", that is present TEMP AT 10 M.

I added the two lines in my control file:
(TEMP AT 10 M ) SCAL=( 5.0)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)
but I don't get anything...

By looking at the log file I found this message:
FIELD TEMP AT 10 M ) SCAL= NOT AVAILABLE

What I have to do?

Thank you
 
By respecting the format of the control file I can read the field in the grib file

That means, instead of
(TEMP AT 10 M ) SCAL=( 5.0)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)

I wrote
(TEMP AT 10 M "here spaces" ) SCAL=( 5.0)
L=(10000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000 00000)

But now the problem is that I get a constant field, value =0 when I open it with Grads.

What could be the problem?
 
The field 'TEMP AT 10 M" is not a field that can be output from the WRF model. This is why you get 0's in your output.

If you have 10M TMP in your WRF output, perhaps you can try adding it to the src/unipost/INITPOST.F routine (for reading WRF output) following these instructions https://dtcenter.org/sites/default/files/community-code/add-new-upp-variable.pdf

Since t10m is already added to the other necessary routines (for another model), that may be all that's needed. You'll need to re-compile the code for any source code changes to take effect.

Note that we no longer provide WRF support to test and troubleshoot this further.
 
Top