-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: MET Tools Test Account <[email protected]> Co-authored-by: Howard Soh <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: jprestop <[email protected]> Co-authored-by: hsoh-u <[email protected]> Co-authored-by: George McCabe <[email protected]> Co-authored-by: lisagoodrich <[email protected]> Co-authored-by: Stephen Herbener <[email protected]> fix #2389 main_v11.0 flowchart (#2391) fix definitions of G172 and G220 based on comments in NOAA-EMC/NCEPLIBS-w3emc#157. (#2405) fix #2380 main_v11.0 override (#2381) fix #2408 main_v11.0 empty config (#2409) fix #2390 main_v11.0 fix compiling hdf5 with zlib and handle NetCDF-C zip (#2403) fix #2415 main_v11.0 modulefiles (#2416) fix #2412 main_v11.0 climo (#2420) fix #2426 main_v11.0 buoy (#2432) fix #2437 main_v11.0 convert (#2438) fix for main_v11.0, for #2437, forgot one reference to the search_parent for a dictionary lookup. fix 2428 python from env main v11.0 (#2443) fix 2428 python csv input (#2450) fix #2452 main_v11.0 airnow (#2453) fix #2402 main_v11.0 sonarqube (First PR) (#2447) fix #2449 main_v11.0 pdf (#2465) fix 2428 python csv input (#2467) fix #2514 main_v11.0 clang (#2556) fix #2575 main_v11.0 python_convert (#2577) fix 2596 main v11.0 rpath compilation (#2600) fix 2596 main v11.0 rpath compilation (#2613) fix #2644 main_v11.0 percentile (#2645)
- Loading branch information
1 parent
e7ff10f
commit 42f672e
Showing
30 changed files
with
374 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Update Truth Data | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pull_requests: | ||
description: 'Pull request(s) that warranted update, e.g. "#123" or "#123 and dtcenter/MET#123"' | ||
required: true | ||
change_summary: | ||
description: 'Summary of changes to truth data' | ||
required: true | ||
|
||
jobs: | ||
update_truth: | ||
name: "Update or create truth reference branch" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if branch is develop or main_vX.Y | ||
run: | | ||
branch_name=${GITHUB_REF#refs/heads/} | ||
echo "branch_name=$branch_name" >> $GITHUB_ENV | ||
if [[ $branch_name == "develop" ]] || \ | ||
[[ $branch_name =~ ^main_v[0-9]+\.[0-9]+$ ]]; then | ||
echo Branch is valid - $branch_name | ||
exit 0 | ||
fi | ||
echo ERROR: Branch is $branch_name - must be develop or match main_vX.Y | ||
exit 1 | ||
- uses: actions/checkout@v3 | ||
name: Checkout repository | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.METPLUS_BOT_TOKEN }} | ||
- name: Resolve conflicts between branch and branch-ref | ||
run: | | ||
branch_name=${{ env.branch_name }} | ||
cd ${GITHUB_WORKSPACE} | ||
if [[ -z "$(git ls-remote --heads origin ${branch_name}-ref)" ]]; then | ||
echo ERROR: ${branch_name}-ref does not exist | ||
exit 1 | ||
fi | ||
echo ${branch_name}-ref does exist -- update it | ||
git config --global user.name "metplus-bot" | ||
git config --global user.email "[email protected]" | ||
echo git checkout ${branch_name} | ||
git checkout ${branch_name} | ||
echo git merge -s ours origin/${branch_name}-ref | ||
git merge -s ours origin/${branch_name}-ref | ||
echo git push origin ${branch_name} | ||
git push origin ${branch_name} | ||
- name: Create Pull Request | ||
run: gh pr create --base $BASE --body "$BODY" --title "$TITLE" | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
BASE: ${{ env.branch_name }}-ref | ||
BODY: ${{ github.event.inputs.change_summary }}<br/>Created by @${{ github.actor}} | ||
TITLE: Update ${{ env.branch_name }}-ref after ${{ github.event.inputs.pull_requests }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
internal/scripts/installation/config/install_met_env.narya
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export TEST_BASE=/Volumes/d1/jpresto/projects/MET/MET_installation/11.0.2 | ||
export COMPILER=gnu_12.3.0 | ||
export MET_SUBDIR=${TEST_BASE} | ||
export MET_TARBALL=v11.0.2.tar.gz | ||
export USE_MODULES=FALSE | ||
export MET_PYTHON=/opt/local | ||
export MET_PYTHON_CC=-I${MET_PYTHON}/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 | ||
export MET_PYTHON_LD=`python3-config --ldflags --embed` | ||
export SET_D64BIT=FALSE | ||
export CFLAGS="-Wall -g" | ||
export CXXFLAGS="-Wall -g" | ||
|
||
# If you've already compiled these and don't need to compile them again, set the following; | ||
# Otherwise, if you do need to install these libraries, comment out the variables below | ||
export EXTERNAL_LIBS=${TEST_BASE}/external_libs | ||
#export MET_GRIB2CLIB=${EXTERNAL_LIBS}/lib | ||
#export MET_GRIB2CINC=${EXTERNAL_LIBS}/include | ||
#export GRIB2CLIB_NAME=-lgrib2c | ||
#export MET_BUFRLIB=${EXTERNAL_LIBS}/lib | ||
#export BUFRLIB_NAME=-lbufr | ||
#export MET_NETCDF=${EXTERNAL_LIBS} | ||
#export MET_HDF5=${EXTERNAL_LIBS} | ||
#export MET_GSL=${EXTERNAL_LIBS} | ||
#export LIB_JASPER=${EXTERNAL_LIBS}/lib | ||
#export LIB_LIBPNG=${EXTERNAL_LIBS}/lib | ||
#export LIB_Z=${EXTERNAL_LIBS}/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.