-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance the regrid dictionary to support the convert function and data censoring. #1293
Comments
I am adding command line options to the regrid_data_plane tool, and I have a question about the option for convert(). Should we specify "convert(x) = 2*x;" on the command line as... |
I'm not sure if you only want feedback from Lindsay and Tina or from everyone... Personally, I like option 3 the best. I think it is the most clear. |
…sor_thresh, and censor_val options. Update the logic in met_regrid.cc to apply these after doing the regridding. Add corresponding command line options to regrid_data_plane for -convert_x and -censor. Add a new call to regrid_data_plane in unit_regrid.xml to exercise them.
…th from data_class.cc and vx_regrid.cc.
…_x to -convert based on feedback from Lindsay and Julie.
The regression test ran successfully with the only difference being one new output file from unit_regrid.xml: And here's a plot of regridded data that has been converted from Kelvin to Celcius and censored so that values less than 0 are bad data. This demonstrates that both operations are working and in the correct order... convert first and censor second. |
…_util on -lvx_config. Had to add -lvx_config to the Makefile for plot_mode_field.
On 4/10/2020, Tina Kalb tested Ensemble-Stat from branch feature_1293_regrid and confirmed that these changes enabled her new use of Ensemble-Stat to work as expected. |
I tested this, and it worked as expected. GitHub forced me to add a .txt extension to be able to upload the config file. The config file can also be found on dakota:/home/kalb/surrogate_severe/estat_test/EnsembleStatConfig_ss. Command: |
…e RegridInfo struct in #1293. Instead of removing it entirely, I'll try to limit the scope of parsing those entries to just the regrid dictionary WITHOUT doing any lookup in its parents.
Describe the Enhancement
The regrid dictionary configuration option in many of the MET tools enable the input data to be regridded to a user-specified grid. In addition, the censor_thresh/censor_val and convert configuration options may be specified to transform the data. These are applied immediately after reading the input gridded data but before any regridding is done.
This task it to also support these configuration options (censor_thresh/censor_val and convert) inside the regrid dictionary. So after applying the regridding logic, apply the user-specified censoring and conversion options.
Note, no need to add these to all of the existing default configuration file for the MET tools. However, be sure to update the data/config/README file with these details.
Also add corresponding command line options to the regrid_data_plane tool.
Time Estimate
2 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
Needed for surrogate severe for HWT 20202.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
No impact to other repos.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Ran full regression test on changes on dakota:
https://docs.google.com/document/d/1nCPBzu0eYognWWDHyocF3riuzydkF01N87cDWG3Bu0g
The text was updated successfully, but these errors were encountered: