CliMA / LESbrary.jl

📚Generating Oceananigans large eddy simulation (LES) data for calibrating parameterizations
MIT License
27 stars 10 forks source link

Clean up realistic site simulation script and run it on the GPU #109

Closed ali-ramadhan closed 3 years ago

ali-ramadhan commented 3 years ago

Resolves #103

Just needs a bit more work. Was hoping to switch to FieldTimeSeries for plotting (https://github.com/CliMA/Oceananigans.jl/pull/1641) but that PR will take some more work so I'll stick with GeoData.jl here for now.

ali-ramadhan commented 3 years ago

Simulation now runs on the GPU and the simulate_site.jl script is more robust/flexible with command line arguments so should now be more usable than it was before. I also spawned off a site_analysis.jl script.

Next up is debugging/refactoring the geostrophic background state...

Below are plots from running

julia --project simulate_site.jl --architecture GPU --size 64 64 128 --extent 250 250 500 --latitude -35 --longitude 210 --start 2013-06-01 --end 2013-06-05 --sose-dir /storage3/bsose_i122/ --output-dir sose_lesbrary_test --no-background-state

Site analysis (surface forcing)

lesbrary_surface_forcing_site_analysis_latitude-35 0_longitude210 0_2013-06-01_to2013-07-01

Site analysis (lateral fluxes)

lesbrary_site_analysis_lateral_fluxes_latitude-35 0_longitude210 0_2013-06-04_to_2013-07-04

Initial state

initial_state

initial_state_deep

Simulation mixed layer depth

lesbrary_latitude-35 0_longitude210 0_2013-06-01_to_2013-06-05_surface_forcings

Simulation output

https://user-images.githubusercontent.com/20099589/117546268-98300980-aff7-11eb-8c11-7fb66bd51779.mp4

Simulation statistics

https://user-images.githubusercontent.com/20099589/117546288-aaaa4300-aff7-11eb-9e14-69a6060f218d.mp4