Understanding unstructured grids (LFric) with Pointstat #2718
-
We have been playing with the LFric unstructured grid files and Pointstat using Beta5 release. I have managed to set up a METplus wrapper and this runs successfully and produces a nice .mpr file with sensible numbers within it. What I was not sure about is whether or not this falls into the ‘multiple times within the same file’ issue which has been fixed within Beta6, but couldn’t recall if that was MET or METplus. Thanks very much |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @robdarvell! Thanks for following up after the meeting yesterday with more info. We're coordinating on testing the UGRID functionality with the LFric files we have and we'll get back to you around Tuesday of next week- a few folks are out until then that we need to coordinate with. Just wanted to give you a heads up on our plan. |
Beta Was this translation helpful? Give feedback.
-
Hi @robdarvell, Dan and I were able to take a look at this yesterday afternoon and I think we have a simple solution to the issue you're currently experiencing. If I could summarize the issue you're running into, it would be that when you run PointStat with your current configuration file, METplus only returns the 0th time index of the forecast input file, regardless of what the actual valid time is. If that's a correct summary, the solution is to use the {valid} keyword in your For example, your current configuration file might look something like
or
In either of these examples, METplus will only pull the first (0th) index of the input file each time, regardless of what the valid time is evaluating at. Using the Using the {valid} keyword means METplus will evaluate what the valid time is before looking through the input file; either directly (if you're using VALID_BEG, VALID_END) or indirectly (if you're using INIT_BEG, INIT_END, and LEAD_SEQ). For demonstration's sake, let's assume you're using INIT; you would set your forecast field information as follows:
With this setting, if you are currently at an INIT_TIME evaluation of 20210912_00 and your LEAD_SEQ is 6, METplus would have a level call that looks like
and will find the corresponding index in the file for that time, assuming that the file's time variable is understood in MET. I'll add that in a similar way, you can use the keyword {init} to dynamically set the time index based off of the initialization time. You can read more about this in the METplus wrappers documentation here. This feature was available since METplus coordinated release 5.0, so you should be OK to use it in METplus v6.0 beta5. If you have any clarifications or additional questions on this, please let us know. A sample of the configuration file you're using and a test file may be helpful to demonstrate additional issues. |
Beta Was this translation helpful? Give feedback.
-
Many thanks for the reply and suggested way of attacking it. This seems to have got us further. |
Beta Was this translation helpful? Give feedback.
-
I will close this discussion now. Any further issues/discussion points can be raised later. Rob |
Beta Was this translation helpful? Give feedback.
Hi @robdarvell,
Dan and I were able to take a look at this yesterday afternoon and I think we have a simple solution to the issue you're currently experiencing.
If I could summarize the issue you're running into, it would be that when you run PointStat with your current configuration file, METplus only returns the 0th time index of the forecast input file, regardless of what the actual valid time is.
If that's a correct summary, the solution is to use the {valid} keyword in your
levels
forecast setting. This creates a dynamic entry to the level that will change each time the valid evaluation time changes, rather than a static one.For example, your current configuration file might look so…