Skip to content

Commit

Permalink
only check ocean.stats for now
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 committed Feb 9, 2024
1 parent 5d50e3e commit 99f674d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions .github/workflows/cobalt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ jobs:
echo "Check with ref ocean.stats"
diff -q ref/ocean.stats ./ocean.stats > /dev/null || { echo "Error: ocean.stats are different, check and update ref! Exiting now..."; exit 1; }
# check MOM.res.nc
echo "check with ref MOM.res.nc"
ncdump ref/MOM.res.nc > org_ref.txt
ncdump RESTART/MOM.res.nc > new_ref.txt
diff -q ./org_ref.txt ./new_ref.txt > /dev/null || { echo "Error: MOM.res.nc are different, check and update ref! Exiting now..."; exit 1; }
#echo "check with ref MOM.res.nc"
#ncdump ref/MOM.res.nc > org_ref.txt
#ncdump RESTART/MOM.res.nc > new_ref.txt
#diff -q ./org_ref.txt ./new_ref.txt > /dev/null || { echo "Error: MOM.res.nc are different, check and update ref! Exiting now..."; exit 1; }
#rm org_ref.txt && rm new_ref.txt
# check with ref ocean_cobalt_airsea_flux.res.nc
#echo "check with ref ocean_cobalt_airsea_flux.res.nc"
Expand Down

0 comments on commit 99f674d

Please sign in to comment.