Unit change of each files in config #1007
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
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 fcst = { 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 need to do complex factor changes, i.e. changing a forecast field based on the paired observation field. More information on this topic is in Chapter 34 of the User's Guide. |
Beta Was this translation helpful? Give feedback.
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 forconvert
, 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 withconvert
, it might look something likefcst = {
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…