Skip to content
Success

Changes

Summary

  1. Merge grid adaptation implementation (#1249) (details)
Commit 25d5bed515ab3d6e11e43419ef1fc3a71777e545 by noreply
Merge grid adaptation implementation (#1249)

* add tunable parameter interp_from_dycore_grid_method

* add dycore interpolation to atex case with conservative remapping by ullrich

* remove new gpu commands

* add acc annotation for gpu

* remove acc annotation again

* add acc annotation for parallel loop

* add acc annotations for parallel loop execution

* change remapping subroutine to take number of levels and levels as input instead of whole grid object

* add more general functions to interpolate

* add and refactor functions for remapping values given on zm levels

* fix compiler errors and refactoring to stay under 100 chars per line

* remove TODOs and used new interpolating function in interpolate_forcings

* add functions for adaptive grid generation and grid density function normalization

* add conservative ullrich remapping to cases with forcing time dependent inputs

* add grid adaptation and flag

* clean up and add warning for case when remapping from dycore flag cannot be used

* some refactoring

* add logical flag for dycore and renamed flags for dycore and grid adaptation

* remove ifdefs

* refactoring

* add units

* changed Lscale to inverse

* add write to file for grid adaptation (still WIP)

* clean up

* change parameter for grid adaptation and add file and plot script for grid adaptation

* add script for animation

* add e3sm dycore grid

* refactoring for efficiency

* small fix for grid adapt plot script

* add new grid adaptation method with prescribed minimum density profile

* fix call to setup_grid

* add gabls2 case

* add refinement criterion and adaptation trigger

* small fix and add minimum grid density profile to animation

* add grid density to pyplots

* add general refinement criteria for astex and gabls2 case (and arm)

* update create_evenly_grid script

* unfinished save

* WIP: save progress

* save working configuration

* save working config without Lscale

* save working config wo the use of Lscale

* change call to map1_ppm to use correct iv parameter and order 4

* save code for results in thesis

* add code for results

* refactor remapping module for grid adaptation

* add list of functions/subroutines to remapping module

* adjust use statements

* add model files for arm, astex and gabls2

* refactor grid_adaptation module

* refactor and adjust tim stopping in clubb_driver

* clean up

* clean up

* add grids

* add scripts

* add changes made to pyplotgen to generate plots for paper

* add configurable model flags file that was used to obtain results

* clean up and save tunable parameters file

* fix error

* fix error

* add grid adapt output for debug level 2

* change dycore grid

* add plot generation script for paper plots

* add small changes

* add normalization explaination plot to paper plots script

* fix plot

* clean up for stats output

* add comment

* fix use of clubb_at_least_debug_api

* small deallocation fix

* fix merge problems

* revert changes made to test grid adaptation

* revert tunable_parameters for Lscale

* revert changes made to create plots for grid adaptation

* add new line

* add new line

* revert changes

* revert changes made to generate grid adaptation plots
The file was addedinput/grid/dycore_e3sm.grd
The file was modified postprocessing/pyplotgen/src/ContourPanel.py (diff)
The file was modified src/CLUBB_core/model_flags.F90 (diff)
The file was modified src/CLUBB_core/interpolation.F90 (diff)
The file was addedinput/grid/dycore.grd
The file was modified src/CLUBB_core/stats_clubb_utilities.F90 (diff)
The file was modified input/stats/all_stats.in (diff)
The file was addedpostprocessing/create_grid_adaptation_plot.py
The file was addedinput/grid/gr_min.grd
The file was modified src/CLUBB_core/stats_variables.F90 (diff)
The file was modified src/CLUBB_core/stats_zm_module.F90 (diff)
The file was addedsrc/CLUBB_core/remapping.F90
The file was modified src/CLUBB_core/output_netcdf.F90 (diff)
The file was modified src/CLUBB_core/constants_clubb.F90 (diff)
The file was modified src/clubb_driver.F90 (diff)
The file was addedpostprocessing/grid_plot.py
The file was modified src/Benchmark_cases/atex.F90 (diff)
The file was modified src/time_dependent_input.F90 (diff)
The file was modified src/CLUBB_core/grid_adaptation.F90 (diff)