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 MET#2955 and MET#2959 #2961

Merged
merged 125 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
d8572b9
2673 Moved dvariable declaration after include
Feb 2, 2024
6ebfdac
#2673 Move down namespace below include
Feb 2, 2024
c788602
Feature #2395 wdir (#2820)
JohnHalleyGotway Feb 14, 2024
67ee04e
Recent changes to branch protection rules for the develop branch have…
JohnHalleyGotway Feb 15, 2024
b558794
Feature #2280 ens_prob (#2823)
JohnHalleyGotway Feb 22, 2024
069cdbd
Merge remote-tracking branch 'origin/develop' into feature_2673_sonar…
Feb 22, 2024
7f513eb
#2673 Change 0 to nullptr
Feb 27, 2024
7483636
#2673 Change 0 to nullptr
Feb 27, 2024
f33de8e
#2673 Change 0 to nullptr
Feb 27, 2024
c1e99ea
#2673 Change 0 to nullptr
Feb 27, 2024
6c30e49
#2673 Change 0 to nullptr
Feb 27, 2024
5cca97e
Merge pull request #2827 from dtcenter/feature_2673_sonarqube_beta3_n…
hsoh-u Feb 27, 2024
83730cf
#2673 Removed the redundant parentheses with return
Feb 28, 2024
4d60e06
#2673 Removed the redundant parentheses with return
Feb 28, 2024
3ff3767
#2673 Removed the redundant parentheses with return
Feb 28, 2024
55f5d3e
#2673 Removed the redundant parentheses with return
Feb 28, 2024
6bb41bc
#2673 Removed the redundant parentheses with return
Feb 28, 2024
d82a979
#2673 Merged develop branch
Feb 28, 2024
481bb15
#2673 restored return statement
Feb 28, 2024
00b162b
Merge pull request #2828 from dtcenter/feature_2673_sonarqube_beta3_r…
hsoh-u Feb 28, 2024
bc7af99
#2673 Added std namespace
Feb 28, 2024
e872917
#2673 Moved down 'using namespace' statement. Removed trailing spaces
Feb 28, 2024
3eb4367
#2673 Moved down 'using namespace' statement.
Mar 1, 2024
3f92f6a
#2673 Moved down 'using namespace' statement.
Mar 1, 2024
a00c7be
#2673 Moved down 'using namespace' statement.
Mar 1, 2024
5706e97
#2673 Moved down 'using namespace' statement.
Mar 1, 2024
4821c37
Merge remote-tracking branch 'origin/develop' into feature_2673_sonar…
Mar 1, 2024
2509f7c
#2673 Added std namespace
Mar 5, 2024
ca64f00
#2673 Added std namespace
Mar 5, 2024
a7f0e06
#2673 Added std namespace
Mar 5, 2024
0b2a7da
Merge pull request #2831 from dtcenter/feature_2673_sonarqube_beta3_n…
hsoh-u Mar 6, 2024
0ab2466
#2673 Changed literal 1 to boolean value, true
Mar 6, 2024
4d7d4a2
Merge pull request #2832 from dtcenter/feature_2673_sonarqube_1_to_true
hsoh-u Mar 7, 2024
a6f7646
Feature #2673 enum_to_string (#2835)
JohnHalleyGotway Mar 14, 2024
108a895
Feature #2583 ecnt (#2825)
JohnHalleyGotway Mar 14, 2024
4c322aa
Revert #2825 since more documentation and testing is needed (#2837)
JohnHalleyGotway Mar 14, 2024
fd1b250
Feature #2583 ecnt fix IGN_OERR_CORR (#2838)
JohnHalleyGotway Mar 14, 2024
f113181
Update the pull request template to include a question about expected…
JohnHalleyGotway Mar 14, 2024
be3ce26
#2830 Changed enum Builtin to enum class
Mar 19, 2024
0153110
#2830 Converted enum to enum class at config_constants.h
Mar 19, 2024
0a771d4
Feature #2830 bootstrap enum (#2843)
JohnHalleyGotway Mar 23, 2024
98af717
Bugfix #2833 develop azimuth (#2840)
JohnHalleyGotway Mar 27, 2024
1c97607
#2830 Changed enum PadSize to enum class
Mar 27, 2024
40b67d4
#2830 Removed redundant parantheses
Mar 27, 2024
79f81af
#2830 Removed commenyted out code
Mar 27, 2024
cef8aad
Merge remote-tracking branch 'origin/develop' into feature_2830_sonar…
Mar 27, 2024
8cc667c
#2830 Use auto
Mar 27, 2024
d6cba7d
#2830 Changed enum to enum class for DistType, InterpMthd, GridTempla…
Mar 28, 2024
15987a1
#2830 Moved enum_class_as_integer from header file to cc files
Mar 28, 2024
8a277fa
#2830 Added enum_as_int.hpp
Apr 1, 2024
fa41fa3
#2830 Added enum_as_int.hpp
Apr 1, 2024
5c95525
Deleted enum_class_as_integer and renamed it to enum_class_as_int
Apr 1, 2024
62acda7
Removed redundant paranthese
Apr 1, 2024
6ac387f
#2830 Changed enum to enumclass
Apr 1, 2024
175f4ed
#2830 Changed enum_class_as_integer to enum_class_as_int
Apr 1, 2024
2c72a1b
Feature #2379 sonarqube gha (#2847)
JohnHalleyGotway Apr 2, 2024
a72e8c5
Hotfix related to #2379. The sonar.newCode.referenceBranch and sonar.…
JohnHalleyGotway Apr 2, 2024
2bef141
#2830 Changed enum STATJobType to enum class
Apr 3, 2024
9e0cd6d
#2830 Changed STATLineType to enum class
Apr 5, 2024
8fad8f2
#2830 Changed Action to enum class
Apr 5, 2024
6d8a3c7
#2830 Changed ModeDataType to enum class
Apr 5, 2024
df25b86
#2830 Changed StepCase to enum class
Apr 5, 2024
1f1d525
#2830 Changed enum to enum class
Apr 5, 2024
aebdd2a
#2830 Changed GenesisPairCategory to enum class
Apr 5, 2024
00380dc
#2830 Removed rediundabt parenrthese
Apr 5, 2024
42c453e
#2830 Reduced same if checking
Apr 5, 2024
2bd5dcf
#2830 Cleanup
Apr 5, 2024
1f32746
#2830 USe empty() instead of lebgth checking
Apr 5, 2024
0811740
#2830 Adjusted indentations
Apr 5, 2024
e71debf
Feature #2379 develop sonarqube updates (#2850)
JohnHalleyGotway Apr 8, 2024
78f1824
Merge remote-tracking branch 'origin/develop' into feature_2830_sonar…
JohnHalleyGotway Apr 8, 2024
3d543fc
Merge pull request #2849 from dtcenter/feature_2830_sonarqube_enum
hsoh-u Apr 8, 2024
2a26d59
Feature 2654 ascii2nc polar buoy support (#2846)
davidalbo Apr 10, 2024
f78720b
Feature #2786 rpss_from_prob (#2861)
JohnHalleyGotway Apr 17, 2024
947b061
Feature #2862 v12.0.0-beta4 (#2864)
JohnHalleyGotway Apr 17, 2024
406d991
Feature #2379 develop single_sq_project (#2865)
JohnHalleyGotway Apr 18, 2024
0a219b5
Hotfix to the documentation in the develop branch. Issue #2858 was cl…
JohnHalleyGotway Apr 18, 2024
d4c4eba
Feature 2842 ugrid config (#2852)
hsoh-u Apr 25, 2024
3caffb4
Feature 2753 comp script config (#2868)
jprestop Apr 29, 2024
d3ecc87
Feature #2795 level_mismatch_warning (#2873)
JohnHalleyGotway Apr 30, 2024
ccd1061
Feature #2870 removing_MISSING_warning (#2872)
JohnHalleyGotway May 1, 2024
7f9bf9c
Feature 2842 ugrid config (#2875)
hsoh-u May 1, 2024
566d4fb
Hotfix to develop branch to remove duplicate test named 'point_stat_u…
JohnHalleyGotway May 1, 2024
542b4ba
Feature 2748 document ugrid (#2869)
DanielAdriaansen May 7, 2024
79ac568
Feature #2781 Convert MET NetCDF point obs to Pandas DataFrame (#2877)
georgemccabe May 8, 2024
a960cc6
Feature #2833 pcp_combine_missing (#2886)
JohnHalleyGotway May 15, 2024
27bff62
Per #2888, update STATAnalysisJob::dump_stat_line() to support dumpin…
JohnHalleyGotway May 16, 2024
32bd12d
Per #2659, making updates as proposed at the 20240516 MET Eng. Mtg. (…
jprestop May 21, 2024
889f1b2
Feature #2395 TOTAL_DIR (#2892)
JohnHalleyGotway May 22, 2024
663fda7
Bugfix #2897 develop python_valid_time (#2899)
JohnHalleyGotway May 22, 2024
cd2b429
Bugfix 2867 point2grid qc flag (#2890)
hsoh-u May 22, 2024
66dca0d
Hotfix to develop to fix the update_truth.yml workflow logic. This te…
JohnHalleyGotway May 23, 2024
942959e
Avoid pushing directly to the develop or main_vX.Y branches since tha…
JohnHalleyGotway May 23, 2024
f368db9
#2904 Changed R path to R-4.4.0 (#2905)
hsoh-u Jun 7, 2024
bdcfcf8
Feature #2912 pb2nc error (#2914)
JohnHalleyGotway Jun 12, 2024
6f75e5a
Feature 2717 convert unit.pl to unit.py (#2871)
natalieb-noaa Jun 12, 2024
4179f55
Bugfix 2867 point2grid qc unittest (#2913)
hsoh-u Jun 14, 2024
95ad048
Feature #2911 tc_stat_set_hdr (#2916)
JohnHalleyGotway Jun 18, 2024
5f20f55
Bugfix #2856 develop ens_climo (#2918)
JohnHalleyGotway Jun 20, 2024
095b67e
Bugfix #2841 develop tang_rad_winds (#2921)
JohnHalleyGotway Jun 24, 2024
1a40ca6
Feature #2601 seeps climo config (#2927)
hsoh-u Jun 27, 2024
bd4ef7a
Feature 2673 sonarqube beta5 redundant parentheses (#2930)
hsoh-u Jul 2, 2024
10a449e
Fix release checksum action (#2929)
georgemccabe Jul 2, 2024
fddc39f
Feature 2857 tripolar coordinates (#2928)
hsoh-u Jul 9, 2024
dcd500a
Feature 2932 v12.0.0-beta5 (#2933)
jprestop Jul 10, 2024
bcc8678
Feature fix release notes (#2934)
jprestop Jul 11, 2024
101c074
Per dtcenter/METplus#2643 discussion, add more detail about the budge…
JohnHalleyGotway Jul 23, 2024
c593187
Feature #2924 fcst climo, PR 1 of 2 (#2939)
JohnHalleyGotway Jul 30, 2024
092205d
Hotfix to the develop branch for a copy/paste bug introduced by PR #2939
JohnHalleyGotway Jul 30, 2024
8b7d49f
Feature #2924 sal1l2_mae, PR 3 of 3 (#2943)
JohnHalleyGotway Aug 9, 2024
d0ed1ef
Update develop to clarify masking poly options based on METplus Discu…
JohnHalleyGotway Aug 14, 2024
98e8be2
Remove two semi-colons that are not actually necessary to avoid confu…
JohnHalleyGotway Aug 15, 2024
03cd070
Per dtcenter/METplus#2653 discussion, update the MTD usage statement …
JohnHalleyGotway Aug 20, 2024
e5ad6b2
Feature #2924 fcst climo, PR 2 of 3 (#2942)
JohnHalleyGotway Aug 21, 2024
5085105
Adds caveat regarding longitudes appearing in DEBUG statements with a…
DanielAdriaansen Aug 21, 2024
ad9c832
Create install_met_env.cactus
jprestop Aug 21, 2024
0ef87de
Adding special script for installing beta5 on wcoss2
jprestop Aug 21, 2024
6031467
Modifying script, including updates to eckit and atlas
jprestop Aug 21, 2024
d494a15
Corrected version of bufr being used
jprestop Aug 22, 2024
1382951
Feature #2938 pb2nc_center_time (#2954)
JohnHalleyGotway Aug 26, 2024
30fa966
Feature #1371 series_analysis (#2951)
JohnHalleyGotway Aug 29, 2024
c5fa790
Feature 2948 cxx17 (#2953)
jprestop Sep 3, 2024
d041d73
Feature 1729 set attr grid (#2955)
hsoh-u Sep 5, 2024
f474e8a
Bugfix #2958 develop BAGSS SEDI CI (#2959)
JohnHalleyGotway Sep 5, 2024
0156191
Merge remote-tracking branch 'origin/develop-ref' into update_develop…
metplus-bot Sep 5, 2024
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
2 changes: 1 addition & 1 deletion .github/jobs/set_job_controls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ run_unit_tests=false
run_diff=false
run_update_truth=false
met_base_repo=met-base
met_base_tag=v3.2
met_base_tag=v3.3
input_data_version=develop
truth_data_version=develop

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_docker_and_trigger_metplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}-lite
MET_BASE_REPO: met-base
MET_BASE_TAG: v3.2
MET_BASE_TAG: v3.3

- name: Push Docker Image
run: .github/jobs/push_docker_image.sh
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/compilation_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ jobs:
config: '--enable-mode_graphics'
- jobid: 'job8'
config: '--enable-modis'
- jobid: 'job9'
config: '--enable-all MET_CXX_STANDARD=11'
- jobid: 'job10'
config: '--enable-all MET_CXX_STANDARD=14'
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: .github/jobs/build_sonarqube_image.sh
env:
MET_BASE_REPO: met-base
MET_BASE_TAG: v3.2
MET_BASE_TAG: v3.3
SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}
WD_REFERENCE_BRANCH: ${{ github.event.inputs.reference_branch }}
SONAR_SCANNER_VERSION: 5.0.1.3006
Expand Down
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
27 changes: 26 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ MET_ATLAS
MET_PROJLIB
MET_PROJINC
MET_PROJ
MET_CXX_STANDARD
OPENMP_CFLAGS
am__fastdepCC_FALSE
am__fastdepCC_TRUE
Expand Down Expand Up @@ -933,6 +934,7 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
MET_CXX_STANDARD
MET_PROJ
MET_PROJINC
MET_PROJLIB
Expand Down Expand Up @@ -1667,6 +1669,9 @@ Some influential environment variables:
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
MET_CXX_STANDARD
Specify the version of the supported C++ standard. Values may be
11, 14, or 17. Default value is 17.
MET_PROJ Where proj lib and include subdirectories are located. If they
are installed in /usr/local, you don't have to specify them.
MET_PROJINC Where proj include files are located. Use if the libraries and
Expand Down Expand Up @@ -5317,6 +5322,26 @@ printf "%s\n" "$ac_cv_prog_c_openmp" >&6; }
CPPFLAGS="${CPPFLAGS} ${OPENMP_CFLAGS}"
LDFLAGS="${LDFLAGS} ${OPENMP_CFLAGS}"

#
# Look for a specified C++ Standard
#

# Configure the variable. The help text will appear if the user uses "configure --help".



# Set a default value

if (test -z "$MET_CXX_STANDARD"); then
MET_CXX_STANDARD=17
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: c++17 will be used as the C++ standard" >&5
printf "%s\n" "$as_me: c++17 will be used as the C++ standard" >&6;}
elif (test -n "$MET_CXX_STANDARD"); then
MET_CXX_STANDARD=${MET_CXX_STANDARD}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: MET_CXX_STANDARD will be set" >&5
printf "%s\n" "$as_me: MET_CXX_STANDARD will be set" >&6;}
fi

#
# Look for the Proj library.
#
Expand Down Expand Up @@ -6988,7 +7013,7 @@ fi
CPPFLAGS=$CPPFLAGS' -DMET_BASE="\"$(pkgdatadir)\""'

# Add -std=c++11 to CXXFLAGS
CXXFLAGS=$CXXFLAGS' -std=c++11'
CXXFLAGS=$CXXFLAGS' -std=c++'$MET_CXX_STANDARD

# Define other variables for the makefiles

Expand Down
20 changes: 19 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,24 @@ AC_OPENMP()
CPPFLAGS="${CPPFLAGS} ${OPENMP_CFLAGS}"
LDFLAGS="${LDFLAGS} ${OPENMP_CFLAGS}"

#
# Look for a specified C++ Standard
#

# Configure the variable. The help text will appear if the user uses "configure --help".

AC_ARG_VAR([MET_CXX_STANDARD], [Specify the version of the supported C++ standard. Values may be 11, 14, or 17. Default value is 17.])

# Set a default value

if (test -z "$MET_CXX_STANDARD"); then
MET_CXX_STANDARD=17
AC_MSG_NOTICE([c++17 will be used as the C++ standard])
elif (test -n "$MET_CXX_STANDARD"); then
MET_CXX_STANDARD=${MET_CXX_STANDARD}
AC_MSG_NOTICE([MET_CXX_STANDARD will be set])
fi

#
# Look for the Proj library.
#
Expand Down Expand Up @@ -1160,7 +1178,7 @@ AM_CONDITIONAL([ENABLE_DEVELOPMENT], [test -n "$MET_DEVELOPMENT"])
CPPFLAGS=$CPPFLAGS' -DMET_BASE="\"$(pkgdatadir)\""'

# Add -std=c++11 to CXXFLAGS
CXXFLAGS=$CXXFLAGS' -std=c++11'
CXXFLAGS=$CXXFLAGS' -std=c++'$MET_CXX_STANDARD

# Define other variables for the makefiles

Expand Down
1 change: 1 addition & 0 deletions data/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/climo/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/climo/seeps/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/colortables/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/colortables/NCL_colortables/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/map/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/map/admin_by_country/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/poly/HMT_masks/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/poly/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/poly/NCEP_masks/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/ps/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/table_files/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
1 change: 1 addition & 0 deletions data/tc_data/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ MET_BUFRLIB = @MET_BUFRLIB@
MET_CAIRO = @MET_CAIRO@
MET_CAIROINC = @MET_CAIROINC@
MET_CAIROLIB = @MET_CAIROLIB@
MET_CXX_STANDARD = @MET_CXX_STANDARD@
MET_ECKIT = @MET_ECKIT@
MET_ECKITINC = @MET_ECKITINC@
MET_ECKITLIB = @MET_ECKITLIB@
Expand Down
10 changes: 7 additions & 3 deletions docs/Users_Guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Environment Variable Descriptions
containing the bin, include, lib, and share directories for Python.

**MET_PYTHON_CC** - Format is -I followed by the directory containing
the Python include files (ex. -I/usr/local/python3/include/python3.10).
the Python include files (e.g. -I/usr/local/python3/include/python3.10).
This information may be obtained by
running :code:`python3-config --cflags`;
however, this command can, on certain systems,
Expand All @@ -257,7 +257,7 @@ Environment Variable Descriptions
the Python library
files then a space, then -l followed by the necessary Python
libraries to link to
(ex. -L/usr/local/python3/lib/\\ -lpython3.10\\
(e.g. -L/usr/local/python3/lib/\\ -lpython3.10\\
-lpthread\\ -ldl\\ -lutil\\ -lm).
The backslashes are necessary in the example shown because of
the spaces, which will be
Expand Down Expand Up @@ -285,7 +285,11 @@ Environment Variable Descriptions
without a specified value of cores to use. The automated MET
testing scripts in the
Docker environment have been successful with a value of
5 (ex. export MAKE_ARGS=”-j 5”).
5 (e.g. export MAKE_ARGS=”-j 5”).

**export MET_CXX_STANDARD** - Specify the version of the supported
C++ standard. Values may be 11, 14, or 17. The default value is 17.
(e.g. export MET_CXX_STANDARD=11).


External Library Handling in compile_MET_all.sh
Expand Down
15 changes: 14 additions & 1 deletion docs/Users_Guide/reformat_point.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1092,9 +1092,22 @@ Optional Arguments for point2grid
16. The **-compress level** option indicates the desired level of compression (deflate level) for NetCDF variables. The valid level is between 0 and 9. The value of "level" will override the default setting of 0 from the configuration file or the environment variable MET_NC_COMPRESS. Setting the compression level to 0 will make no compression for the NetCDF output. Lower number is for fast compression and higher number is for better compression.

Only 4 interpolation methods are applied to the field variables; MIN/MAX/MEDIAN/UW_MEAN. The GAUSSIAN method is applied to the probability variable only. Unlike regrad_data_plane, MAX method is applied to the file variable and Gaussian method to the probability variable with the MAXGAUSS method. If the probability variable is not requested, MAXGAUSS method is the same as MAX method.

For the GOES-16 and GOES-17 data, the computing lat/long is time consuming. The computed coordinate (lat/long) is saved to a temporary NetCDF file, as described in :numref:`Contributor's Guide Section %s <tmp_files_point2grid>`. The computing lat/long step can be skipped if the coordinate file is given through the environment variable MET_GEOSTATIONARY_DATA. The grid mapping to the target grid is saved to MET_TMP_DIR to save the execution time. Once this file is created, the MET_GEOSTATIONARY_DATA is ignored. The grid mapping file should be deleted manually in order to apply a new MET_GEOSTATIONARY_DATA environment variable or to re-generate the grid mapping file. An example of call point2grid to process GOES-16 AOD data is shown below:


The grid name or the grid definition can be given with the -field option when the grid information is missing from the input NetCDF file for the latitude_longitude projection. The latitude and longitude variable names should be defined by the user, and the grid information from the set_attr_grid is ignored in this case

.. code-block:: none

point2grid \
iceh.2018-01-03.c00.tlat_tlon.nc \
G231 \
point2grid_cice_to_G231.nc \
-config Point2GridConfig_tlat_tlon \
-field 'name="hi_d"; level="(0,*,*)"; set_attr_grid="latlon 1440 1080 -79.80672 60.28144 0.04 0.04";' \
-v 1

.. code-block:: none

point2grid \
Expand Down
2 changes: 1 addition & 1 deletion internal/scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG MET_BASE_REPO=met-base
ARG MET_BASE_TAG=v3.2
ARG MET_BASE_TAG=v3.3

FROM dtcenter/${MET_BASE_REPO}:${MET_BASE_TAG}
MAINTAINER John Halley Gotway <johnhg@ucar.edu>
Expand Down
2 changes: 1 addition & 1 deletion internal/scripts/docker/Dockerfile.copy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG MET_BASE_REPO=met-base-unit-test
ARG MET_BASE_TAG=v3.2
ARG MET_BASE_TAG=v3.3

FROM dtcenter/${MET_BASE_REPO}:${MET_BASE_TAG}
MAINTAINER John Halley Gotway <johnhg@ucar.edu>
Expand Down
2 changes: 1 addition & 1 deletion internal/scripts/docker/Dockerfile.sonarqube
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG MET_BASE_REPO=met-base
ARG MET_BASE_TAG=v3.2
ARG MET_BASE_TAG=v3.3

FROM dtcenter/${MET_BASE_REPO}:${MET_BASE_TAG}
MAINTAINER John Halley Gotway <johnhg@ucar.edu>
Expand Down
28 changes: 21 additions & 7 deletions internal/scripts/installation/compile_MET_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,11 @@ if [ $COMPILE_ECKIT -eq 1 ]; then

# Need to obtain ecbuild before installing eckit

vrs="3.5.0"
if [[ ! -z ${MET_CXX_STANDARD} && ${MET_CXX_STANDARD} -le 14 ]]; then
vrs="3.5.0"
elif [[ -z ${MET_CXX_STANDARD} ]]; then
vrs="3.7.0"
fi

echo
echo "Compiling ECBUILD at `date`"
Expand All @@ -652,9 +656,13 @@ if [ $COMPILE_ECKIT -eq 1 ]; then
run_cmd "mkdir build; cd build"
run_cmd "cmake ../ -DCMAKE_INSTALL_PREFIX=${LIB_DIR} > $(pwd)/ecbuild.cmake.log 2>&1"
run_cmd "make ${MAKE_ARGS} install > $(pwd)/ecbuild.make_install.log 2>&1"

vrs="1.20.2"

if [[ ! -z ${MET_CXX_STANDARD} && ${MET_CXX_STANDARD} -le 14 ]]; then
vrs="1.20.2"
elif [[ -z ${MET_CXX_STANDARD} ]]; then
vrs="1.24.4"
fi

echo
echo "Compiling ECKIT at `date`"
mkdir -p ${LIB_DIR}/eckit
Expand All @@ -671,7 +679,11 @@ fi
# Compile ATLAS
if [ $COMPILE_ATLAS -eq 1 ]; then

vrs="0.30.0"
if [[ ! -z ${MET_CXX_STANDARD} && ${MET_CXX_STANDARD} -le 14 ]]; then
vrs="0.30.0"
elif [[ -z ${MET_CXX_STANDARD} ]]; then
vrs="0.35.0"
fi

echo
echo "Compiling ATLAS at `date`"
Expand Down Expand Up @@ -862,9 +874,11 @@ if [ -z ${MET_PROJ} ]; then
export MET_PROJ=${LIB_DIR}
fi

export MET_PYTHON_BIN_EXE=${MET_PYTHON_BIN_EXE:=${MET_PYTHON}/bin/python3}
export MET_PYTHON_LD
export MET_PYTHON_CC
if [[ ! -z ${MET_PYTHON_CC} || ! -z ${MET_PYTHON_LD} ]]; then
export MET_PYTHON_BIN_EXE=${MET_PYTHON_BIN_EXE:=${MET_PYTHON}/bin/python3}
export MET_PYTHON_LD
export MET_PYTHON_CC
fi

# add flags to user-defined LDFLAGS for MacOS
if [[ $machine != "Mac" ]]; then
Expand Down
6 changes: 6 additions & 0 deletions internal/test_unit/config/Point2GridConfig_tlat_tlon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
file_type = NETCDF_NCCF;

var_name_map = [
{ key = "lat_vname"; val = "TLAT"; },
{ key = "lon_vname"; val = "TLON"; }
];
Loading