specify OBS_VAR1_LEVELS in metplus gridstat #1616
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
@perthsb I see you have a question about configuring Grid-Stat to select a single timestep from a NetCDF file that contains many. I see this in the METplus config file you sent:
And I'm guessing here that the "total_aod_mean" NetCDF variable has 3 dimensions for time, lat, lon (or something simliar).
Settings the level to
The would tell Grid-Stat to find and use the time dimension corresponding exactly to the current valid time being evaluated. |
Beta Was this translation helpful? Give feedback.
-
Hi @perthsb, @JohnHalleyGotway is out of the office today and asked me to take a look at this discussion. I think you may be misunderstanding how the METplus timing variables work with respect to forecast leads. Please see the Timing Control section from the System Configuration chapter of the METplus User's Guide, specifically the LEAD_SEQ sub-section for a detailed description with examples. The METplus [VALID/INIT]_[BEG/END] variables are not actually a range of valid or init times to allow. The wrappers loop over the valid/init times from _BEG to _END by _INCREMENT. For each valid/init time, the list of forecast leads specified with LEAD_SEQ are processed. For each forecast lead, the other time is computed, i.e. for The MET config files for some tools support valid_beg, valid_end, init_beg, and init_end variables that do specify a range of valid/init times to allow and times outside of those ranges are not processed, so I see how this would be confusing. Those values are set through the METplus config with variables that also include the name of the tool, i.e. PB2NC_VALID_BEG. In the configuration file you sent,
The VALID_INCREMENT value is set to 6 hours, so it will then increment to 6Z on May 12 and process every forecast lead, computing the init time relative to that valid time, and so on. I hope that clears up the confusion. Let me know if you have any other questions or issues. There is a lot of useful information in the METplus User's Guide System Configuration chapter so I recommend reading through it. |
Beta Was this translation helpful? Give feedback.
-
Hi @perthsb, it looks like the obs template you set correctly matches the timestamps in the GEOS files, however there are no files that correspond to the valid times that you are processing. It is difficult to tell how this should be configured without knowing what data is found in each file. It looks like the timestamps in the filenames are off by 90 minutes from the times you are trying to process. If, for example, the data in the 0730 file contains data valid from 0600-0730, then you could configure the obs template using the shift keyword to shift the time from the current run time.
See this section of the METplus User's Guide for more information on time shifting in filename templates. If you'd like to send me one of the GEOS files, I could take a look at the contents to help you determine how to set this up. |
Beta Was this translation helpful? Give feedback.
-
Thanks @perthsb, I was able to download that file. It looks like the file contains a single time that lines up with the time in the filename. The global attributes mention that the data covers a range of 00:00 to 03:00, so I think you would want to use this file for the 0Z run. If that is the case, then I think applying a 90 minute shift to the filename template is appropriate here. However, the valid time in the time dimension will not line up with the valid time for your run, so you do not want to specify the valid time in the OBS_VAR1_LEVELS value. Since there is only 1 time in these files, I would change: to
|
Beta Was this translation helpful? Give feedback.
@perthsb I see you have a question about configuring Grid-Stat to select a single timestep from a NetCDF file that contains many.
I see this in the METplus config file you sent:
And I'm guessing here that the "total_aod_mean" NetCDF variable has 3 dimensions for time, lat, lon (or something simliar).
Settings the level to
(0,*,*)
will always use data for the first time step. Instead, you want to select data for the actual valid time being evaluated. You can try doing so like this:The would tell Grid-Stat to find and use the time dimension cor…