Skip to main content
Ctrl+K
FRIDOM - Documentation - Home FRIDOM - Documentation - Home
  • Installation
  • Getting Started
  • Tutorials
    • Using FRIDOM Models
      • The Grid and the Model Settings
      • Field Variables and Plotting
      • The State Vector and Initial Conditions
      • Running the Model
      • Modules Part 1: Understanding Modules
      • Saving model output
      • Modules Part 2: Creating Custom Modules
      • Generating animations
      • Time-stepping schemes
      • Submitting simulations to a computing cluster
      • Parallelizing simulations
    • Creating Models
    • More Tutorials
      • Selecting the backend
      • Floating point precision
      • Building the Documentation
  • Gallery
    • Non-hydrostatic model examples
      • Barotropic Jet
      • Reflecting Wave Package
      • Internal Gravity Wave Maker
      • Convection and Closures
      • Multiple Wave Makers
      • Rayleigh-Taylor Instability
      • Rayleigh-Bénard Convection
      • Single Internal Wave
      • Dancing Eddies
      • Symmetric Instability
      • Tracers and Eddies
    • Shallow-water model examples
      • Barotropic Instability
  • Fridom API
    • framework
      • exceptions
      • grid
        • cartesian
        • spectral
        • GridBase
        • DiffModule
        • InterpolationModule
        • DummyInterpolation
        • WaterMask
        • AxisPosition
        • Position
        • BCType
        • FFTPadding
      • domain_decomposition
        • DomainDecomposition
        • fridom.framework.domain_decomposition.domain_decomposition.get_default_domain_decomposition
        • SingleDecomposition
        • JaxDecomposition
      • utils
        • fridom.framework.utils.mpi.I_AM_MAIN_RANK
        • fridom.framework.utils.mpi.MPI_AVAILABLE
        • fridom.framework.utils.mpi.mpi_barrier
        • fridom.framework.utils.mpi.get_mpi_size
        • fridom.framework.utils.printing.print_bar
        • fridom.framework.utils.printing.print_job_init_info
        • fridom.framework.utils.formatting.humanize_length
        • fridom.framework.utils.formatting.humanize_time
        • fridom.framework.utils.formatting.humanize_number
        • fridom.framework.utils.filesystem.chdir_to_submit_dir
        • fridom.framework.utils.filesystem.stdout_is_file
        • SliceableAttribute
        • fridom.framework.utils.array_ops.modify_array
        • fridom.framework.utils.array_ops.random_array
        • fridom.framework.utils.numpy_utils.to_numpy
        • fridom.framework.utils.numpy_utils.to_seconds
        • fridom.framework.utils.jax_utils.jaxjit
        • fridom.framework.utils.jax_utils.jaxify
        • fridom.framework.utils.jax_utils.inspect_jitted_function
        • fridom.framework.utils.jax_utils.free_memory
        • fridom.framework.utils.decorators.skip_on_doc_build
        • fridom.framework.utils.decorators.cache_figure
      • time_steppers
        • TimeStepper
        • AdamBashforth
        • RungeKutta
        • RKMethods
        • ButcherTableau
      • modules
        • animation
        • advection
        • closures
        • forcings
        • Module
        • fridom.framework.modules.module.module_method
        • ModuleContainer
        • ProgressBar
        • RestartModule
        • NetCDFWriter
        • ResetTendency
        • FigureSaver
      • projection
        • Projection
        • GeostrophicSpectral
        • WaveSpectral
        • DivergenceSpectral
        • NNMD
        • GeostrophicTimeAverage
        • OptimalBalance
      • timing_module
      • fridom.framework.configuration.config
      • fridom.framework.logger.log
      • FieldVariable
      • StateBase
      • ModelState
      • Model
      • Clock
    • nonhydro
      • grid
        • cartesian
        • spectral
        • AxisPosition
        • Position
        • BCType
      • modules
        • advection
        • closures
        • pressure_solvers
        • forcings
        • animation
        • advection
        • LinearTendency
        • TendencyDivergence
        • PressureGradientTendency
        • MainTendency
        • Diagnostics
        • NetCDFWriter
        • RestartModule
        • ResetTendency
        • Module
        • fridom.framework.modules.module.module_method
        • FigureSaver
      • initial_conditions
        • SingleWave
        • KelvinWave
        • WavePackage
        • BarotropicJet
        • Jet
        • CoherentEddy
        • fridom.nonhydro.initial_conditions.geostrophic_spectra.geostrophic_energy_spectrum
        • RandomGeostrophicSpectra
      • time_steppers
        • TimeStepper
        • AdamBashforth
        • RungeKutta
        • RKMethods
        • ButcherTableau
      • utils
        • fridom.framework.utils.mpi.I_AM_MAIN_RANK
        • fridom.framework.utils.mpi.MPI_AVAILABLE
        • fridom.framework.utils.mpi.mpi_barrier
        • fridom.framework.utils.mpi.get_mpi_size
        • fridom.framework.utils.printing.print_bar
        • fridom.framework.utils.printing.print_job_init_info
        • fridom.framework.utils.formatting.humanize_length
        • fridom.framework.utils.formatting.humanize_time
        • fridom.framework.utils.formatting.humanize_number
        • fridom.framework.utils.filesystem.chdir_to_submit_dir
        • fridom.framework.utils.filesystem.stdout_is_file
        • SliceableAttribute
        • fridom.framework.utils.array_ops.modify_array
        • fridom.framework.utils.array_ops.random_array
        • fridom.framework.utils.numpy_utils.to_numpy
        • fridom.framework.utils.numpy_utils.to_seconds
        • fridom.framework.utils.jax_utils.jaxjit
        • fridom.framework.utils.jax_utils.jaxify
        • fridom.framework.utils.jax_utils.inspect_jitted_function
        • fridom.framework.utils.jax_utils.free_memory
        • fridom.framework.utils.decorators.skip_on_doc_build
        • fridom.framework.utils.decorators.cache_figure
      • projection
        • Projection
        • GeostrophicSpectral
        • WaveSpectral
        • DivergenceSpectral
        • NNMD
        • GeostrophicTimeAverage
        • OptimalBalance
      • fridom.framework.configuration.config
      • fridom.framework.logger.log
      • ModelSettings
      • State
      • DiagnosticState
      • FieldVariable
      • ModelState
      • Model
    • shallowwater
      • time_steppers
        • TimeStepper
        • AdamBashforth
        • RungeKutta
        • RKMethods
        • ButcherTableau
      • utils
        • fridom.framework.utils.mpi.I_AM_MAIN_RANK
        • fridom.framework.utils.mpi.MPI_AVAILABLE
        • fridom.framework.utils.mpi.mpi_barrier
        • fridom.framework.utils.mpi.get_mpi_size
        • fridom.framework.utils.printing.print_bar
        • fridom.framework.utils.printing.print_job_init_info
        • fridom.framework.utils.formatting.humanize_length
        • fridom.framework.utils.formatting.humanize_time
        • fridom.framework.utils.formatting.humanize_number
        • fridom.framework.utils.filesystem.chdir_to_submit_dir
        • fridom.framework.utils.filesystem.stdout_is_file
        • SliceableAttribute
        • fridom.framework.utils.array_ops.modify_array
        • fridom.framework.utils.array_ops.random_array
        • fridom.framework.utils.numpy_utils.to_numpy
        • fridom.framework.utils.numpy_utils.to_seconds
        • fridom.framework.utils.jax_utils.jaxjit
        • fridom.framework.utils.jax_utils.jaxify
        • fridom.framework.utils.jax_utils.inspect_jitted_function
        • fridom.framework.utils.jax_utils.free_memory
        • fridom.framework.utils.decorators.skip_on_doc_build
        • fridom.framework.utils.decorators.cache_figure
      • projection
        • Projection
        • GeostrophicSpectral
        • WaveSpectral
        • DivergenceSpectral
        • NNMD
        • GeostrophicTimeAverage
        • OptimalBalance
      • grid
        • cartesian
        • AxisPosition
        • Position
        • BCType
      • modules
        • closures
        • animation
        • MainTendency
        • LinearTendency
        • SadournyAdvection
        • NetCDFWriter
        • RestartModule
        • ResetTendency
        • FigureSaver
      • initial_conditions
        • Jet
        • CoherentEddy
        • SingleWave
      • fridom.framework.configuration.config
      • fridom.framework.logger.log
      • ModelSettings
      • State
      • FieldVariable
      • ModelState
      • Model
  • .rst

Saving model output

Saving model output#

TODO

previous

Modules Part 1: Understanding Modules

next

Modules Part 2: Creating Custom Modules

By Silvano Rosenau

© Copyright {% now 'local', '%Y' %}, Silvano Rosenau.