Skip to content

Unit change of each files in config #1007

Locked Answered by j-opatz
Deba57 asked this question in Configuration
Discussion options

You must be logged in to vote

Hi Debasish, and thank you for your question. There are currently two ways you can modify your forecast or observation fields by a set value: the first is within your configuration file using convert. Take a look at the MET User's Guide entry for convert, which is located under the forecast dictionary entry (but can be applied to observations as well). To apply a constant factor change of 0.15 to your forecast field with convert, it might look something like

fcst = {
convert(x) = x0.15;
field = [ { name = "var1"; level = "(
,*)";} ];
}

The second method would be to use a Python script and use the Python embedding ability of MET to read those altered fields in. This is a good idea if you ne…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@JohnHalleyGotway
Comment options

@Deba57
Comment options

@JohnHalleyGotway
Comment options

@Deba57
Comment options

@JohnHalleyGotway
Comment options

Answer selected by JohnHalleyGotway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment