Skip to content
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

Update develop-ref after #2256, and #2257, and #2262. #2263

Merged
merged 397 commits into from
Sep 18, 2022
Merged
Changes from 1 commit
Commits
Show all changes
397 commits
Select commit Hold shift + click to select a range
1852dae
For #2044, fix a typo in PB2NCConfig_G212. A commented out obs_bufr_v…
JohnHalleyGotway Feb 17, 2022
6b2134d
Merge pull request #2050 from dtcenter/feature_2044_pb2nc_config
hsoh-u Feb 17, 2022
418ebe7
print docker build log to GHA log if build fails
georgemccabe Feb 18, 2022
0d04d0d
Feature 1824 pb2nc mlcape (#2057)
hsoh-u Feb 18, 2022
a2a7372
Feature 1583 es hira (#2056)
JohnHalleyGotway Feb 18, 2022
e1160cf
Merge branch 'develop-ref' into develop
JohnHalleyGotway Feb 19, 2022
10ca15c
#1824 ci-run-test Reset itype to 1 for regular CAPE
Feb 19, 2022
fd9e63c
Merge pull request #2060 from dtcenter/feature_1824_pb2nc_MLCAPE2
hsoh-u Feb 20, 2022
6b78a89
SonarQube: check if pd_ptr is null
Feb 22, 2022
1d58705
#1824 Initialize cape_cnt_surface_msgs
Feb 22, 2022
946e4ec
ci-run-test Removed trailing spaces
Feb 22, 2022
f74ac2a
Modified the PR template to add review of the source issue metadata c…
Feb 22, 2022
2c4e4af
feature_2054_helpEmailChanges (#2064)
davidalbo Feb 23, 2022
ba71e4c
Merge pull request #2065 from dtcenter/feature_1824_pb2nc_MLCAPE2
hsoh-u Feb 23, 2022
36bdf26
Feature set job controls (#2066)
jprestop Feb 23, 2022
ab26b48
Feature 1918 std climo (#2061)
JohnHalleyGotway Feb 23, 2022
005da64
Merge branch 'develop-ref' into develop
JohnHalleyGotway Feb 24, 2022
30ad6b6
Feature 2070 obs_prepbufr_map (#2071)
JohnHalleyGotway Feb 24, 2022
eccbb38
#1996 simplify the retrun statement (no effect with tf_left at the se…
Feb 25, 2022
37aef73
#1996 Add null terminator only if the pointer is not NULL
Feb 25, 2022
543370e
#1996 Reduced duplicated for loops
Feb 25, 2022
4471c4a
#1996 Removed IsSet which is defined at the base class
Feb 25, 2022
c5a80d5
#1996 Initialize the variable
Feb 25, 2022
40569ff
#1996 ci-run-test Initialize the variable, nxy
Feb 25, 2022
b55b5c9
Merge branch 'develop' into feature_1996_sonarqube_findings2
JohnHalleyGotway Mar 1, 2022
7d63e0f
Merge pull request #2073 from dtcenter/feature_1996_sonarqube_findings2
hsoh-u Mar 1, 2022
107ac32
Feature 1918 climo_ens_member_id (#2075)
JohnHalleyGotway Mar 2, 2022
2eb1158
Merge branch 'develop-ref' into develop
JohnHalleyGotway Mar 2, 2022
514c0c3
Feature 1259 es_prob_stats (#2067)
JohnHalleyGotway Mar 2, 2022
ddb3a3b
Feature 2078 v10.1.0-beta6 (#2079)
JohnHalleyGotway Mar 2, 2022
591cbd2
Feature 1259 BIN_MEAN OBS_THRESH (#2082)
JohnHalleyGotway Mar 3, 2022
43c7dad
Merge branch 'develop-ref' into develop
JohnHalleyGotway Mar 3, 2022
de2f9b8
Per #1904, fixing a minor copy/paste bug in gen_ens_prod. We were che…
JohnHalleyGotway Mar 7, 2022
ed50ea4
Initialize tc
Mar 7, 2022
4e7b393
#1824 ci-run-test Separated log message for MLCAPE
Mar 7, 2022
bffb7e5
ci-run-test Do not calls set(TcrmwData *)
Mar 7, 2022
ab03051
Initialze obs_data at constructor to avoid warninjg on building
Mar 7, 2022
4605a77
Initialze obs_data at constructor to avoid a warning by compiler
Mar 7, 2022
182f461
#1824 ci-run-test Removed the duplicated code
Mar 7, 2022
04510c3
Feature 1810 expand asciitable (#2086)
JohnHalleyGotway Mar 7, 2022
1b9784e
Merge pull request #2089 from dtcenter/feature_1824_pb2nc_MLCAPE3
hsoh-u Mar 8, 2022
ee0be03
Feature 1583 skip_mean (#2090)
JohnHalleyGotway Mar 8, 2022
ef01628
Feature 1275 MODE Object Count (#2091)
JohnHalleyGotway Mar 9, 2022
db2debf
Feature 1184 dryline (#2088)
JohnHalleyGotway Mar 10, 2022
ce1cd99
Feature 1184 replace_env (#2093)
JohnHalleyGotway Mar 10, 2022
8ca4a1a
Feature 2092 v10.1.0-rc1 (#2094)
JohnHalleyGotway Mar 10, 2022
db7762f
Hotfix to the develop branch to fix the MODE Makefile for the MET-10.…
JohnHalleyGotway Mar 11, 2022
a32b11b
Second hotfix for the MODE Makefile in the develop branch.
JohnHalleyGotway Mar 11, 2022
6db4da7
Feature 1844 docs (#2096)
JohnHalleyGotway Mar 12, 2022
eeefd91
Feature 2097 v10.1.0 (#2099)
JohnHalleyGotway Mar 14, 2022
1428201
Feature 2098 gen ens prod doc (#2100)
DanielAdriaansen Mar 14, 2022
3f40dfd
update job control rules for GHA testing workflow to use version spec…
georgemccabe Mar 14, 2022
b312b81
Migrating a small tweak added to the v10.1.0 release into the develop…
JohnHalleyGotway Mar 15, 2022
bdb90bb
Adding SonarQube location to development.seneca file.
Mar 17, 2022
b41a319
Merge branch 'develop' of https://github.com/dtcenter/MET into develop
Mar 17, 2022
6caff89
Bugfix #2102 develop initialize modified_hdr_typ (#2104)
hsoh-u Mar 28, 2022
c0e1944
added logic to manually trigger a workflow via the GitHub… (develop) …
georgemccabe Mar 28, 2022
f5f7a41
Feature update installation info (#2114)
jprestop Mar 30, 2022
f1e7e9f
create DockerHub tag that ends with -lite to use when triggering the …
georgemccabe Mar 30, 2022
f75e27c
Bugfix #2115 develop Rotated LatLon (#2117)
JohnHalleyGotway Apr 1, 2022
a320761
Merge branch 'develop-ref' into develop
JohnHalleyGotway Apr 4, 2022
cf7ddec
Feature 1950 sort station list (#2121)
sethlinden Apr 6, 2022
1e1a4cc
Bugfix #2118 develop grib1_rotll (#2130)
JohnHalleyGotway Apr 8, 2022
a80097b
Bugfix 2123 nccf valid time (#2127)
hsoh-u Apr 9, 2022
6447251
Merge remote-tracking branch 'origin/develop-ref' into develop
JohnHalleyGotway Apr 9, 2022
2e53ff7
Feature #2132 version 11.0.0 (#2133)
JohnHalleyGotway Apr 11, 2022
cdcc01d
Bugfix #2106 develop gcc (#2135)
JohnHalleyGotway Apr 11, 2022
5ecbf56
Doc-only update to expliciltly list the maximum character lengths for…
JohnHalleyGotway May 2, 2022
15ca7c3
Added pcp_combine -subtract example (#2153)
mollybsmith-noaa May 5, 2022
8f1ce80
Add testing and docs status badges.
JohnHalleyGotway May 5, 2022
7427450
Feature #2152 poly_xy (#2154)
JohnHalleyGotway May 6, 2022
e6f5068
#14 Using literal instead of numbers and make sure no overflow
May 10, 2022
81fe0a4
#14 Using literal instead of numbers
May 10, 2022
e3fbfdf
#14 Added tmp_buf_size
May 10, 2022
d56db12
#14 Define n_kw_infos first
May 10, 2022
ba05032
#14 Using literal instead of numbers
May 10, 2022
75061c2
Bugfix #2148 develop misses (#2150)
JohnHalleyGotway May 10, 2022
6debf03
Merge branch 'develop-ref' into develop
JohnHalleyGotway May 10, 2022
ac50028
dtcenter/METplus-Internal#14 formatting code
May 10, 2022
aa23fda
Merge pull request #2157 from dtcenter/feature_14_fixed_length_array
hsoh-u May 10, 2022
fc76766
METplus-Internal #16 Added python scanning
May 11, 2022
f567adc
METplus-Internal #16 changed name
May 11, 2022
8af815f
METplus-Internal #16 initial release for python scanning
May 11, 2022
4b6e0f6
METplus-Internalv#19 added maic.cc & main.h
May 12, 2022
d2109a1
METplus-Internalv#19 renamed main to met_main and added get_tool_name
May 12, 2022
93c0e12
METplus-Internalv#19 Initial release
May 12, 2022
32f6ac3
changing 'Linked issue' to 'Development issue'
lisagoodrich May 13, 2022
d77e759
change Linked issue/Development issue ci-skip-all
lisagoodrich May 13, 2022
b93c935
change Linked issue/Development issue ci-skip-all
lisagoodrich May 13, 2022
7fe963d
change Linked issue/Development issue ci-skip-all
lisagoodrich May 13, 2022
83bcd89
Feature 1920 repo (#2161)
JohnHalleyGotway May 16, 2022
cf0ac67
Merge branch 'develop' into feature_METplus-Internal_19_log_user_id
JohnHalleyGotway May 19, 2022
ee835d3
Merge branch 'develop' into feature_METplus-Internal_16_sonarqube_python
JohnHalleyGotway May 19, 2022
3c4a124
List line types that can be aggregated per dtcenter/METplus#1625
JohnHalleyGotway May 19, 2022
b7b0861
Merge branch 'develop-ref' into develop
JohnHalleyGotway May 19, 2022
4a0ca2b
Hotfix for the develop branch to correct a bad MET_TEST_BASE path tha…
May 20, 2022
f9a153a
Feature 2072 tc rmw winds (#2165)
davidalbo May 20, 2022
4a754ea
Merge branch 'develop-ref' into develop
JohnHalleyGotway May 20, 2022
f90b73e
change Linked issue/Development issue ci-skip-all
jprestop May 24, 2022
76d12c4
Bugfix #2173 develop shift_data_plane (#2175)
JohnHalleyGotway Jun 7, 2022
107d1fb
Bugfix #2170 develop agg_ecnt (#2177)
JohnHalleyGotway Jun 10, 2022
bda2bd3
Merge branch 'develop-ref' into develop
JohnHalleyGotway Jun 10, 2022
66fb810
Feature 2022 anom corr to vcnt (#2171)
sethlinden Jun 13, 2022
7ea50d0
#1815 Renamed time_as_offset to Is_offset
Jun 13, 2022
c5e9639
#1815 Added vx_data2d_dim_by_value
Jun 13, 2022
e7152fa
#1815 Added convert_value_to_offset and renamed _time_dim_offset to _…
Jun 14, 2022
2d0ff3a
#1815 Added convert_value_to_offset and renamed _time_dim_offset to _…
Jun 14, 2022
80dd0a8
#1815 Support @ for the value insteaed of offset for slicing
Jun 14, 2022
fc5a5cb
#1815 Support value insteaed of offset for slicing
Jun 14, 2022
8d59e18
#1815 Deleted unused local variable
Jun 14, 2022
7837db8
#1815 Deleted unused local variable
Jun 14, 2022
239dd08
#1815 Added level by value with @
Jun 14, 2022
7657431
#1815 Added plot_data_plane_NCCF_latlon_by_value
Jun 14, 2022
7bce984
#1815 Added level by value with @
Jun 14, 2022
e5ccff5
Feature #2180 develop kft (#2181)
JohnHalleyGotway Jun 14, 2022
8d4e4d4
Merge pull request #2159 from dtcenter/feature_METplus-Internal_16_so…
hsoh-u Jun 14, 2022
01864ad
dtcenter/METplus-Internal#16 Moved from scripts/sonarqube to internal…
Jun 14, 2022
329e4f6
#1815 Updated level
Jun 14, 2022
e0ccbd4
Feature 2022 stat_analysis (#2185)
JohnHalleyGotway Jun 15, 2022
e506773
Merge branch 'develop-ref' into develop
JohnHalleyGotway Jun 15, 2022
852eb99
Feature #2147 HSS (#2169)
JohnHalleyGotway Jun 15, 2022
2c9d528
Merge remote-tracking branch 'origin/develop' into feature_1815_level…
Jun 15, 2022
c8f1f95
#1815 call is_eq to comapre two double values
Jun 15, 2022
66f1908
Per #2147, this is a HOTFIX to the develop branch after PR #2169 adde…
JohnHalleyGotway Jun 16, 2022
638ff04
Merge branch 'develop-ref' into develop
JohnHalleyGotway Jun 16, 2022
d949702
Merge remote-tracking branch 'origin/develop' into feature_METplus-In…
Jun 21, 2022
560c8b7
Merge remote-tracking branch 'origin/develop' into feature_1815_level…
Jun 21, 2022
7116377
#2187 Added add_offset_att_name & scale_factor_att_name
Jun 22, 2022
236b778
#2187 Apply add_offse or scale_factor if defined
Jun 22, 2022
6c04bb9
##2187 Removed handling add_offset and scale factor. They are applied…
Jun 22, 2022
66b55cf
#2187 Changed a log message
Jun 22, 2022
ac8d975
Merge pull request #2183 from dtcenter/feature_METplus-Internal_16_so…
hsoh-u Jun 22, 2022
c24957f
Merge pull request #2194 from dtcenter/bugfix_2187_add_offset_and_sca…
hsoh-u Jun 22, 2022
49ba0ad
Merge remote-tracking branch 'origin/develop' into feature_1815_level…
Jun 22, 2022
29c40b0
Per #2193, add release notes for met-11.0.0-beta1. (#2195)
JohnHalleyGotway Jun 22, 2022
c18dc8c
Hotfix to develop since I forgot to update the version number in conf…
JohnHalleyGotway Jun 22, 2022
c56a507
#1815 Added more attribute names
Jun 23, 2022
ca77ab2
#1815 Added get_index_for_dim
Jun 23, 2022
9483883
#1815 Formatting
Jun 23, 2022
6741041
#1815 Support a differnt dimension name from thw first data variable
Jun 23, 2022
033ccda
#1815 Use constants for attr names
Jun 23, 2022
92b8d0c
Hotfix to the develop branch to fix paths in Dockefiles after restruc…
JohnHalleyGotway Jun 23, 2022
2314df8
Another hotfix to develop to get the Docker build step working again.
JohnHalleyGotway Jun 23, 2022
a54f687
Updating the png version of the older flowcharts.
JohnHalleyGotway Jun 23, 2022
d4886d3
#1815 cleanup
Jun 27, 2022
5a1e381
#1815 cleanup
Jun 27, 2022
1a9f1b4
#1851 cleanup
Jun 27, 2022
38211de
#1851 cleanup
Jun 27, 2022
1f63628
#1815 Added get_att_unixtime
Jun 27, 2022
7c1ad06
#1851 cleanup
Jun 27, 2022
ca162f5
#1815 cleanup
Jun 27, 2022
4f1343f
#1815 cleanup
Jun 27, 2022
9541e84
#1815 Support @ for pinterp
Jun 27, 2022
2066939
#1815 Do not call to_string
Jun 27, 2022
161227f
#1815 cleanup
Jun 27, 2022
82b7396
Per issue #2081, updated thecontents to match MRMS Version 12.2. Upda…
sethlinden Jun 30, 2022
f4d9706
#1815 Changed @time to time at plot_data_plane_NCCF_time
Jun 30, 2022
3ca4d25
Merge remote-tracking branch 'origin/develop' into feature_METplus-In…
Jun 30, 2022
14a059e
Merge pull request #2190 from dtcenter/feature_1815_level_value
hsoh-u Jun 30, 2022
7225c77
Merge remote-tracking branch 'origin/develop' into feature_METplus-In…
Jun 30, 2022
2649886
Revert "Feature 1815 level value" (#2201)
georgemccabe Jun 30, 2022
8e9d91c
#1815 Use NcVarInfo members instead API calls
Jul 1, 2022
f051bab
#1815 Added find_var_by_dim_name
Jul 1, 2022
d86cd1a
#1815 Merged origin/develop with resolving merge conflicts
Jul 5, 2022
b6029c3
#1815 Restored changes for this branch. The changes were reset after …
Jul 6, 2022
da43d3c
#METplus-Internal_19 cleanup
Jul 8, 2022
f782ad0
#METplus-Internal_19 Added more functiofnds and corrected typo
Jul 8, 2022
9f5e057
#METplus-Internal_19 Added main.h and main.cc
Jul 8, 2022
3e0213a
#METplus-Internal_19 adjusted link order to set oom
Jul 8, 2022
070a117
#METplus-Internal_19 Renamed main to met_main. Moved oom handler to b…
Jul 8, 2022
d2e0a75
#METplus-Internal commented out segv_handler which failed to compile …
Jul 8, 2022
312aa93
Fix typo - maintianing
jprestop Jul 11, 2022
e8af847
Feature #2204 sum (#2205)
JohnHalleyGotway Jul 17, 2022
3d13abc
Merge pull request #2203 from dtcenter/feature_1815_level_value
hsoh-u Jul 18, 2022
ec9a1ce
#2202 Added APIs to check the point data (missing data and data types)
Jul 22, 2022
2b78948
#2202 Renamed pointdata_from_xarray to pointdata_from_python_list
Jul 22, 2022
e95018f
#2202 Support python list
Jul 22, 2022
1777c21
#2202 Avoid seg fault by checking point data from python embedding an…
Jul 22, 2022
5dab0fa
#2202 Support python list
Jul 22, 2022
d6c8cfb
#2202 Added APIs to check the point data (missing data and data types)
Jul 22, 2022
93263b5
#2202 Added APIs to check the point data (missing data and data types)
Jul 22, 2022
f4a9400
#2202 Added APIs to check the point data (missing data and data types)
Jul 25, 2022
70712e6
#2202 Added MaskedArray to allowed array data type
Jul 25, 2022
8f6f304
Merge branch 'develop-ref' into develop
JohnHalleyGotway Jul 25, 2022
b9c5899
Per #2211, enhance warning/error messages when parsing threshold type…
JohnHalleyGotway Jul 26, 2022
6fc7560
#2208 Check existence of ensemble member data before checking bad_data
Jul 26, 2022
5f1899a
Merge pull request #2212 from dtcenter/feature_2211_log_msg
jvigh Jul 27, 2022
c0d6397
Merge pull request #2213 from dtcenter/bugfix_2208_ensemble_stat_miss…
hsoh-u Jul 27, 2022
ce6152c
2215 Added station_ob to message_type & station_id to station_id for …
Jul 29, 2022
9b755b1
2215 Add log message for missing message_type and station_id metadata…
Jul 29, 2022
f2fad3b
2215 Filter out XXX@RecMetaData variables from @MetaData variables
Jul 29, 2022
7f5cdf2
Merge remote-tracking branch 'origin/develop' into feature_2202_pytho…
JohnHalleyGotway Aug 2, 2022
9027297
Per #2215, update the user's guide to make it consistent with the def…
JohnHalleyGotway Aug 2, 2022
13f3fe0
Merge pull request #2217 from dtcenter/feature_2215_ioda2nc_message_type
hsoh-u Aug 2, 2022
1afadcc
Merge pull request #2209 from dtcenter/feature_2202_python_embedding_…
hsoh-u Aug 2, 2022
8b0b0c6
#METplus-Internal_19 Renamed main to met_main and added get_tool_name
Aug 3, 2022
5c0804b
Merge pull request #2160 from dtcenter/feature_METplus-Internal_19_lo…
hsoh-u Aug 3, 2022
0dbe45e
Merge branch 'develop-ref' into develop
JohnHalleyGotway Aug 3, 2022
d24ae45
Feature sonarqube v11 beta2 (#2222)
hsoh-u Aug 3, 2022
094fd9c
Per #2220, update the version number and release notes.
JohnHalleyGotway Aug 3, 2022
3d76a4b
Per #2220, fix typo.
JohnHalleyGotway Aug 3, 2022
8d0ec6c
Per #2220, format the METplus-Internal release notes for MET in the s…
JohnHalleyGotway Aug 3, 2022
aa24dce
Merge pull request #2223 from dtcenter/feature_2220_v11.0.0-beta2
bikegeek Aug 3, 2022
c5fee9a
Added *hpp
Aug 5, 2022
dc2d3a6
Separated template functions
Aug 5, 2022
a1eae43
Separated template functions
Aug 5, 2022
f2cdf99
Changed argument for get_var_fill_value
Aug 5, 2022
86ab23f
Feature 1971 mtd error to warning (#2221)
davidalbo Aug 5, 2022
bc7c7f8
#2225 @level string is not applied as an index and index string witho…
Aug 5, 2022
07737e5
Merge pull request #2226 from dtcenter/feature_template_with_hpp
hsoh-u Aug 8, 2022
c30b709
Feature #2220 v11.0.0-beta2_try2 (#2228)
JohnHalleyGotway Aug 9, 2022
bcb3b05
Updating Hera and Jet files for 11.0.0 release
jprestop Aug 11, 2022
9fcb37f
Adding 11.0.0 modulefiles for Hera and Jet
jprestop Aug 11, 2022
16efede
Updating cheyenne installation files
jprestop Aug 13, 2022
9aab292
Reformatted slashes in paths for hera config files
jprestop Aug 13, 2022
d00d857
Updating installation files for Orion
jprestop Aug 13, 2022
f6bd643
Removed beta2 references
jprestop Aug 13, 2022
8f50cc8
Adding configuration and modulefiles for gaea installation
jprestop Aug 15, 2022
70b52c6
Changing METdatadb references to METdataio
jprestop Aug 15, 2022
36d8356
Documentation-only commit directly to develop to correct a typo. The …
JohnHalleyGotway Aug 15, 2022
c33a552
Merge branch 'develop' of github.com:dtcenter/MET into develop
jprestop Aug 16, 2022
255a8ca
Feature 2055 nbm grib2 update (#2234)
sethlinden Aug 18, 2022
a44176e
Merge pull request #2233 from dtcenter/feature_2225_level_string_with_at
hsoh-u Aug 18, 2022
5bc6fad
Merge branch 'develop-ref' into develop
JohnHalleyGotway Aug 19, 2022
1680606
Feature 2207 map (#2241)
JohnHalleyGotway Aug 26, 2022
0a27b94
Feature #2237 tmp_dir (#2242)
JohnHalleyGotway Aug 29, 2022
c7bbab9
Per #2196, updating files for changes to met base image (#2246)
jprestop Aug 30, 2022
71c1939
Hotfix to the develop branch to fix typos in the names of 3 tools (gr…
JohnHalleyGotway Aug 30, 2022
973f1b9
Feature 2250 accum (#2251)
JohnHalleyGotway Sep 1, 2022
3daa077
Feature 2198 zenodo (#2252)
jprestop Sep 2, 2022
118214c
Per #1744, adding names for rst files in index.rst
jprestop Sep 2, 2022
d91b103
Reword to Grid-Stat opening paragraph
j-opatz Sep 6, 2022
506e761
Feature 2196 update dockerfile (#2249)
jprestop Sep 8, 2022
7bf988f
Feature 1774 contrib outline (#2253)
lisagoodrich Sep 9, 2022
98fecaf
Fine tune to grid-stat opening paragraph
j-opatz Sep 9, 2022
38e2bff
Feature 2206 fair crps to ecnt (#2247)
sethlinden Sep 13, 2022
49f7546
automated tests: added ability to trigger build of develop-lite docke…
georgemccabe Sep 13, 2022
60dc48b
to fix issues with python embedding when the path changes, update dev…
georgemccabe Sep 13, 2022
8874a27
Hotfix to the develop branch to revert the python version from 3.8 ba…
JohnHalleyGotway Sep 14, 2022
5efc65e
Tweak the build_docker_image.sh script by removing references to MET_…
JohnHalleyGotway Sep 14, 2022
16c513c
Revert "Tweak the build_docker_image.sh script by removing references…
JohnHalleyGotway Sep 14, 2022
96bd183
Hotfix, found 2 more spots where I needed to change v1.1 to v1.0. We …
JohnHalleyGotway Sep 14, 2022
688d3d8
Merge branch 'develop-ref' into develop
JohnHalleyGotway Sep 14, 2022
d456aaf
Bugfix 2238 link error (#2255)
hsoh-u Sep 14, 2022
3d8ce9f
Feature dtcenter/METplus-Internal#15 add checksum to release (#2254)
georgemccabe Sep 14, 2022
1d95e91
feature 2216 ioda2nc station_id (#2259)
hsoh-u Sep 15, 2022
8a75206
Feature 1942 seeps (#2257)
hsoh-u Sep 16, 2022
9a1ba2a
Feature 2142 ascii2nc airnow (#2256)
davidalbo Sep 18, 2022
c14819f
Feature 1954 semilatlon (#2262)
JohnHalleyGotway Sep 18, 2022
8ebd1fd
Merge remote-tracking branch 'origin/develop-ref' into develop
JohnHalleyGotway Sep 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Feature #2152 poly_xy (#2154)
JohnHalleyGotway authored May 6, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7427450c539eb92b28a534154bbe8c0cd1d7c8d2
26 changes: 14 additions & 12 deletions met/docs/Users_Guide/masking.rst
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ Required arguments for gen_vx_mask

2. The **mask_file** argument defines the masking information, see below.

• For "poly", "box", "circle", and "track" masking, specify an ASCII Lat/Lon file.
• For "poly", "poly_xy", "box", "circle", and "track" masking, specify an ASCII Lat/Lon file.

• For "grid" and "data" masking, specify a gridded data file.

@@ -81,7 +81,7 @@ Optional arguments for gen_vx_mask

• For "lat" and "lon" masking, threshold the latitude and longitude values.

10. The **-height n** and **-width n** options set the size in grid units for "box"masking.
10. The **-height n** and **-width n** options set the size in grid units for "box" masking.

11. The **-shapeno n** option is only used for shapefile masking. (See description of shapefile masking below).

@@ -97,25 +97,27 @@ Optional arguments for gen_vx_mask

The Gen-Vx-Mask tool supports the following types of masking region definition selected using the **-type** command line option:

1. Polyline (**poly**) masking reads an input ASCII file containing Lat/Lon locations, connects the first and last points, and selects grid points falling inside that polyline. This option is useful when defining geographic subregions of a domain.
1. Polyline (**poly**) masking reads an input ASCII file containing Lat/Lon locations, connects the first and last points, and selects grid points whose Lat/Lon location falls inside that polyline in Lat/Lon space. This option is useful when defining geographic subregions of a domain.

2. Box (**box**) masking reads an input ASCII file containing Lat/Lon locations and draws a box around each point. The height and width of the box is specified by the **-height** and **-width** command line options in grid units. For a square, only one of **-height** or **-width** needs to be used.
2. Polyline XY (**poly_xy**) masking reads an input ASCII file containing Lat/Lon locations. It converts the polyline Lat/Lon locations into grid X/Y space and connects the first and last points. It selects grid points whose X/Y location falls inside that polyline in X/Y space. This option is useful when defining geographic subregions of a domain.

3. Circle (**circle**) masking reads an input ASCII file containing Lat/Lon locations and for each grid point, computes the minimum great-circle arc distance in kilometers to those points. If the **-thresh** command line option is not used, the minimum distance value for each grid point will be written to the output. If it is used, only those grid points whose minimum distance meets the threshold criteria will be selected. This option is useful when defining areas within a certain radius of radar locations.
3. Box (**box**) masking reads an input ASCII file containing Lat/Lon locations and draws a box around each point. The height and width of the box is specified by the **-height** and **-width** command line options in grid units. For a square, only one of **-height** or **-width** needs to be used.

4. Track (**track**) masking reads an input ASCII file containing Lat/Lon locations and for each grid point, computes the minimum great-circle arc distance in kilometers to the track defined by those points. The first and last track points are not connected. As with **circle** masking the output for each grid point depends on the use of the **-thresh** command line option. This option is useful when defining the area within a certain distance of a hurricane track.
4. Circle (**circle**) masking reads an input ASCII file containing Lat/Lon locations and for each grid point, computes the minimum great-circle arc distance in kilometers to those points. If the **-thresh** command line option is not used, the minimum distance value for each grid point will be written to the output. If it is used, only those grid points whose minimum distance meets the threshold criteria will be selected. This option is useful when defining areas within a certain radius of radar locations.

5. Grid (**grid**) masking reads an input gridded data file, extracts the field specified using its grid definition, and selects grid points falling inside that grid. This option is useful when using a model nest to define the corresponding area of the parent domain.
5. Track (**track**) masking reads an input ASCII file containing Lat/Lon locations and for each grid point, computes the minimum great-circle arc distance in kilometers to the track defined by those points. The first and last track points are not connected. As with **circle** masking the output for each grid point depends on the use of the **-thresh** command line option. This option is useful when defining the area within a certain distance of a hurricane track.

6. Data (**data**) masking reads an input gridded data file, extracts the field specified using the **-mask_field** command line option, thresholds the data using the **-thresh** command line option, and selects grid points which meet that threshold criteria. The option is useful when thresholding topography to define a mask based on elevation or when threshold land use to extract a particular category.
6. Grid (**grid**) masking reads an input gridded data file, extracts the field specified using its grid definition, and selects grid points falling inside that grid. This option is useful when using a model nest to define the corresponding area of the parent domain.

7. Solar altitude (**solar_alt**) and solar azimuth (**solar_azi**) masking computes the solar altitude and azimuth values at each grid point for the time defined by the **mask_file** setting. **mask_file** may either be set to an explicit time string in YYYYMMDD[_HH[MMSS]] format or to a gridded data file. If set to a gridded data file, the **-mask_field** command line option specifies the field of data whose valid time should be used. If the **-thresh** command line option is not used, the raw solar altitude or azimuth value for each grid point will be written to the output. If it is used, the resulting binary mask field will be written. This option is useful when defining a day/night mask.
7. Data (**data**) masking reads an input gridded data file, extracts the field specified using the **-mask_field** command line option, thresholds the data using the **-thresh** command line option, and selects grid points which meet that threshold criteria. The option is useful when thresholding topography to define a mask based on elevation or when threshold land use to extract a particular category.

8. Latitude (**lat**) and longitude (**lon**) masking computes the latitude and longitude value at each grid point. This logic only requires the definition of the grid, specified by the **input_file**. Technically, the **mask_file** is not needed, but a value must be specified for the command line to parse correctly. Users are advised to simply repeat the **input_file** setting twice. If the **-thresh** command line option is not used, the raw latitude or longitude values for each grid point will be written to the output. This option is useful when defining latitude or longitude bands over which to compute statistics.
8. Solar altitude (**solar_alt**) and solar azimuth (**solar_azi**) masking computes the solar altitude and azimuth values at each grid point for the time defined by the **mask_file** setting. **mask_file** may either be set to an explicit time string in YYYYMMDD[_HH[MMSS]] format or to a gridded data file. If set to a gridded data file, the **-mask_field** command line option specifies the field of data whose valid time should be used. If the **-thresh** command line option is not used, the raw solar altitude or azimuth value for each grid point will be written to the output. If it is used, the resulting binary mask field will be written. This option is useful when defining a day/night mask.

9. Shapefile (**shape**) masking uses a closed polygon taken from an ESRI shapefile to define the masking region. Gen-Vx-Mask reads the shapefile with the ".shp" suffix and extracts the latitude and longitudes of the vertices. The other types of shapefiles (index file, suffix ".shx", and dBASE file, suffix ".dbf") are not currently used. The shapefile must consist of closed polygons rather than polylines, points, or any of the other data types that shapefiles support. Shapefiles usually contain more than one polygon, and the **-shape n** command line option enables the user to select one polygon from the shapefile. The integer **n** tells which shape number to use from the shapefile. Note that this value is zero-based, so that the first polygon in the shapefile is polygon number 0, the second polygon in the shapefile is polygon number 1, etc. For the user's convenience, some utilities that perform human-readable screen dumps of shapefile contents are provided. The gis_dump_shp, gis_dump_shx and gis_dump_dbf tools enable the user to examine the contents of her shapefiles. As an example, if the user knows the name of the particular polygon but not the number of the polygon in the shapefile, the user can use the gis_dump_dbf utility to examine the names of the polygons in the shapefile. The information written to the screen will display the corresponding polygon number.
9. Latitude (**lat**) and longitude (**lon**) masking computes the latitude and longitude value at each grid point. This logic only requires the definition of the grid, specified by the **input_file**. Technically, the **mask_file** is not needed, but a value must be specified for the command line to parse correctly. Users are advised to simply repeat the **input_file** setting twice. If the **-thresh** command line option is not used, the raw latitude or longitude values for each grid point will be written to the output. This option is useful when defining latitude or longitude bands over which to compute statistics.

The polyline, box, circle, and track masking methods all read an ASCII file containing Lat/Lon locations. Those files must contain a string, which defines the name of the masking region, followed by a series of whitespace-separated latitude (degrees north) and longitude (degree east) values.
10. Shapefile (**shape**) masking uses a closed polygon taken from an ESRI shapefile to define the masking region. Gen-Vx-Mask reads the shapefile with the ".shp" suffix and extracts the latitude and longitudes of the vertices. The other types of shapefiles (index file, suffix ".shx", and dBASE file, suffix ".dbf") are not currently used. The shapefile must consist of closed polygons rather than polylines, points, or any of the other data types that shapefiles support. Shapefiles usually contain more than one polygon, and the **-shape n** command line option enables the user to select one polygon from the shapefile. The integer **n** tells which shape number to use from the shapefile. Note that this value is zero-based, so that the first polygon in the shapefile is polygon number 0, the second polygon in the shapefile is polygon number 1, etc. For the user's convenience, some utilities that perform human-readable screen dumps of shapefile contents are provided. The gis_dump_shp, gis_dump_shx and gis_dump_dbf tools enable the user to examine the contents of her shapefiles. As an example, if the user knows the name of the particular polygon but not the number of the polygon in the shapefile, the user can use the gis_dump_dbf utility to examine the names of the polygons in the shapefile. The information written to the screen will display the corresponding polygon number.

The polyline, polyline XY, box, circle, and track masking methods all read an ASCII file containing Lat/Lon locations. Those files must contain a string, which defines the name of the masking region, followed by a series of whitespace-separated latitude (degrees north) and longitude (degree east) values.

The Gen-Vx-Mask tool performs three main steps, described below.

17 changes: 13 additions & 4 deletions met/src/basic/vx_util/thresh_array.cc
Original file line number Diff line number Diff line change
@@ -625,7 +625,10 @@ bool check_prob_thresh(const ThreshArray &ta, bool error_out) {
mlog << Error << "\ncheck_prob_thresh() -> "
<< "When verifying a probability field, you must "
<< "select at least 3 thresholds beginning with 0.0 "
<< "and ending with 1.0.\n\n";
<< "and ending with 1.0 (current setting: "
<< ta.get_str() << ").\n"
<< "Consider using the ==p shorthand notation for bins "
<< "of equal width.\n\n";
exit(1);
}
else {
@@ -641,7 +644,10 @@ bool check_prob_thresh(const ThreshArray &ta, bool error_out) {
mlog << Error << "\ncheck_prob_thresh() -> "
<< "When verifying a probability field, all "
<< "thresholds must be greater than or equal to, "
<< "using \"ge\" or \">=\".\n\n";
<< "using \"ge\" or \">=\" (current setting: "
<< ta.get_str() << ").\n"
<< "Consider using the ==p shorthand notation for bins "
<< "of equal width.\n\n";
exit(1);
}
else {
@@ -653,8 +659,11 @@ bool check_prob_thresh(const ThreshArray &ta, bool error_out) {
if(ta[i].get_value() < 0.0 || ta[i].get_value() > 1.0) {
if(error_out) {
mlog << Error << "\ncheck_prob_thresh() -> "
<< "When verifying a probability field, all "
<< "thresholds must be between 0 and 1.\n\n";
<< "When verifying a probability field, all thresholds "
<< "must be between 0 and 1 (current setting: "
<< ta.get_str() << ").\n"
<< "Consider using the ==p shorthand notation for bins "
<< "of equal width.\n\n";
exit(1);
}
else {
22 changes: 20 additions & 2 deletions met/src/libcode/vx_nc_util/nc_utils.cc
Original file line number Diff line number Diff line change
@@ -25,8 +25,6 @@ using namespace netCDF::exceptions;

////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////

void patch_nc_name(string *var_name) {
size_t offset;

@@ -3216,6 +3214,26 @@ NcVar add_var(NcFile *nc, const string &var_name, const NcType ncType,
mlog << Debug(3) << " nc_utils.add_var() deflate_level: " << deflate_level << "\n";
var.setCompression(false, true, deflate_level);
}

// Check for lat and lon dimensions
ConcatString cs;
bool has_lat_dim, has_lon_dim;
vector<NcDim>::const_iterator itDim;
for (itDim = ncDims.begin(), has_lat_dim = has_lon_dim = false;
itDim != ncDims.end(); ++itDim) {
if (itDim->getName() == "lat") has_lat_dim = true;
else if (itDim->getName() == "lon") has_lon_dim = true;
if (itDim != ncDims.begin()) cs << " ";
cs << itDim->getName();
}

// Add the coordinates variable attribute for variables
// with both lat and lon dimensions
if (has_lat_dim && var_name != "lat" &&
has_lon_dim && var_name != "lon") {
add_att(&var, "coordinates", cs.c_str());
}

return var;
}

Loading