-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Replace italics below with details for this issue.
Describe the Problem
Reported by Zhuming and summarized by George McCabe:
I am trying to run PointStat to read NetCDF data using the valid time. I am able to run plot_data_plane specifying the valid time and run PointStat using level (0,,) which I confirmed corresponds to the time I need, but PointStat will not work using the valid time.
I set up a test environment on kiowa in
/d1/projects/MET/MET_Help/zhuming_data_20210414
There are 2 scripts that you can run to replicate the behavior:
run_point_stat_success.sh and run_point_stat_failure.sh
The only differences between the two are the output directory and the way the level value is specified.
diff run_point_stat_success.sh run_point_stat_failure.sh
3c3
< outdir=/d1/projects/MET/MET_Help/zhuming_data_20210414/out_success
---
> outdir=/d1/projects/MET/MET_Help/zhuming_data_20210414/out_failure
8c8
< export FCST_FIELD="{ name=\"t_2m\"; level=\"(0,*,*)\"; cat_thresh=[ <=273,>273 ]; }";
---
> export FCST_FIELD="{ name=\"t_2m\"; level=\"(20150715_000000,*,*)\"; cat_thresh=[ <=273,>273 ]; }";
I also added a script called run_plot_data_plane.sh that successfully generates a ps file using the same name/level values.
Expected Behavior
Instead of following WARNING and ERROR messages, it should find the time level and continue.
WARNING: MetNcCFDataFile::collect_time_offsets(VarInfo &) -> Not found time out of 13.
ERROR :
ERROR : MetNcCFDataFile::collect_time_offsets(VarInfo &) -> variable "t_2m" has unknown error (999).
ERROR :
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop) kiowa
2. OS: (e.g. RedHat Linux, MacOS) Redhat
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
outdir=out_test
mkdir -p $outdir
export CLIMO_MEAN_FILE="";
export CLIMO_STDEV_FILE="";
export FCST_FIELD="{ name=\"t_2m\"; level=\"(20150715_000000,*,*)\"; cat_thresh=[ <=273,>273 ]; }";
export METPLUS_DESC="";
export METPLUS_MODEL="model = \"MPAS\";";
export METPLUS_OBTYPE="";
export METPLUS_REGRID_DICT="regrid = {to_grid = NONE;}";
export MODEL="MPAS";
export OBS_FIELD="{ name=\"TMP\"; level=\"Z2\"; cat_thresh=[ <=273,>273 ]; message_type = [\"ADPSFC\"]; }";
export OBS_WINDOW_BEGIN="-5400";
export OBS_WINDOW_END="5400";
export OBTYPE="";
export OUTPUT_PREFIX="";
export POINT_STAT_GRID="[\"FULL\"]";
export POINT_STAT_MESSAGE_TYPE="[\"ADPUPA\",\"ADPSFC\"]";
export POINT_STAT_POLY="[]";
export POINT_STAT_STATION_ID="[]";
export REGRID_TO_GRID="NONE";
export VERIF_MASK="";
/d1/projects/MET/MET_releases/met-10.0.0-beta4/bin/point_stat \
-v 5 \
/d1/projects/MET/MET_Help/zhuming_data_20210414/mpas_wrf_cf_2015071500.nc \
/d1/projects/MET/MET_Help/zhuming_data_20210414/pbs.2015071506.nc \
/d1/projects/MET/MET_Help/zhuming_data_20210414/PointStatConfig_wrapped \
-outdir $outdir
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
2702691
Define the Metadata
Assignee
- Select engineer(s) or no engineer required
- Select scientist(s) or no scientist required: None
Labels
- Select component(s)
- Select priority
- Select requestor(s)
Projects and Milestone
- Review projects and select relevant Repository and Organization ones or add "alert:NEED PROJECT ASSIGNMENT" label
- Select milestone to relevant bugfix version
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
- Complete the issue definition above, including the Time Estimate and Funding Source.
- Fork this repository or create a branch of main_<Version>.
Branch name:bugfix_<Issue Number>_main_<Version>_<Description>
- Fix the bug and test your changes.
- Add/update log messages for easier debugging.
- Add/update unit tests.
- Add/update documentation.
- Push local changes to GitHub.
- Submit a pull request to merge into main_<Version>.
Pull request:bugfix <Issue Number> main_<Version> <Description>
- Define the pull request metadata, as permissions allow.
Select: Reviewer(s), Project(s), Milestone, and Linked issues - Iterate until the reviewer(s) accept and merge your changes.
- Delete your fork or branch.
- Complete the steps above to fix the bug on the develop branch.
Branch name:bugfix_<Issue Number>_develop_<Description>
Pull request:bugfix <Issue Number> develop <Description>
- Close this issue.