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

Machine Learning based vertical diffusivity in EPBL mixing scheme used for ocean surface boundary layer #737

Open
wants to merge 34 commits into
base: dev/gfdl
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a6f1bc3
added the Machine Learned + empirically fitted diffusivity coefficien…
aakashsane Jul 18, 2024
60dd73c
Merge pull request #1 from aakashsane/dev/gfdl
aakashsane Jul 29, 2024
6328056
Merge branch 'NOAA-GFDL:dev/gfdl' into ML_diffusivity
aakashsane Aug 5, 2024
c77845b
Merge pull request #2 from aakashsane/ML_diffusivity
aakashsane Aug 5, 2024
3483057
Update MOM_energetic_PBL.F90
aakashsane Aug 5, 2024
67e3474
updated the algorithm used in interpolating between neural network to…
aakashsane Aug 5, 2024
5d79f16
Update MOM_energetic_PBL.F90
aakashsane Aug 5, 2024
c367e28
added type for hbl
aakashsane Aug 5, 2024
c025605
fixed typo
aakashsane Aug 5, 2024
fcc96f3
Delete src/parameterizations/vertical/Modified_MOM_energetic_PBL.F90
aakashsane Aug 5, 2024
43c3113
fixed another typo
aakashsane Aug 5, 2024
fa720d3
some typos
aakashsane Aug 5, 2024
0e91642
some other typo
aakashsane Aug 5, 2024
e3eb879
f_lower value changed to 0.1 deg.
aakashsane Aug 20, 2024
57af2a7
Merge branch 'NOAA-GFDL:dev/gfdl' into dev/gfdl
aakashsane Aug 20, 2024
01bb7c6
Merge pull request #3 from aakashsane/dev/gfdl
aakashsane Aug 20, 2024
f8da1ec
Merge pull request #4 from aakashsane/dev/gfdl
aakashsane Aug 29, 2024
4fe384f
fixed some typos
aakashsane Aug 30, 2024
838304d
fixed some typos and removed unwanted variables
aakashsane Aug 30, 2024
9579165
added comments to the code
aakashsane Aug 30, 2024
7fb2f80
deleted some unwanted files that were not part of original code
aakashsane Sep 3, 2024
1f56fd5
changing the code to meet mom6 code style requirements
aakashsane Sep 4, 2024
4f7e3b7
Merge pull request #5 from aakashsane/dev/gfdl
aakashsane Sep 23, 2024
c5a88e5
added the scales
aakashsane Sep 30, 2024
3a35685
Merge branch 'ML_diffusivity' of github.com:aakashsane/MOM6 into ML_d…
aakashsane Sep 30, 2024
2e97964
corrected scales stuff
aakashsane Sep 30, 2024
02ad656
fixed some issues pointed out by Raph
aakashsane Oct 2, 2024
538cc5b
Merge branch 'dev/gfdl' into ML_diffusivity
marshallward Oct 9, 2024
f940b2e
Delete src/parameterizations/vertical/.vscode/settings.json
aakashsane Oct 9, 2024
13aec05
made some changes
aakashsane Oct 21, 2024
992f266
made some edits, changed the greater than and less than signs, etc.
aakashsane Oct 21, 2024
001273c
edited the comments in the subroutines
aakashsane Nov 18, 2024
37089a3
added comments in the subroutines
aakashsane Nov 18, 2024
03a07b9
Merge branch 'dev/gfdl' into ML_diffusivity
aakashsane Nov 18, 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
60 changes: 60 additions & 0 deletions .testing/tc4/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
FC = mpifort
LD =
FCFLAGS = -g -O2
LDFLAGS = -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/homebrew/Caskroom/miniforge/base/envs/mommy2/lib -L/opt/homebrew/Caskroom/miniforge/base/envs/mommy2/lib
LIBS = -lnetcdff -lnetcdf

LAUNCHER ?=

OUT = ocean_hgrid.nc topog.nc temp_salt_ic.nc sponge.nc

# Since each program generates two outputs, we can only use one to track the
# creation. The second rule is used to indirectly re-invoke the first rule.
#
# Reference:
# https://www.gnu.org/software/automake/manual/html_node/Multiple-Outputs.html

# Program output
all: ocean_hgrid.nc temp_salt_ic.nc
executables: gen_data gen_grid

ocean_hgrid.nc: gen_grid
$(LAUNCHER) ./gen_grid
topog.nc: ocean_hgrid.nc
@test -f $@ || rm -f $^
@test -f $@ || $(MAKE) $^

temp_salt_ic.nc: gen_data ocean_hgrid.nc
$(LAUNCHER) ./gen_data
sponge.nc: temp_salt_ic.nc
@test -f $@ || rm -f $^
@test -f $@ || $(MAKE) $^


# Programs

gen_grid: gen_grid.F90
$(FC) $(FCFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)

gen_data: gen_data.F90
$(FC) $(FCFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)


# Support

.PHONY: clean
clean:
rm -rf $(OUT) gen_grid gen_data

.PHONY: distclean
distclean: clean
rm -f config.log
rm -f config.status
rm -f Makefile

.PHONY: ac-clean
ac-clean: distclean
rm -f aclocal.m4
rm -rf autom4te.cache
rm -f configure
rm -f configure~
20 changes: 20 additions & 0 deletions .testing/tc4/gen_data.dSYM/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.gen_data</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
20 changes: 20 additions & 0 deletions .testing/tc4/gen_grid.dSYM/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.gen_grid</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
Loading