MONC
Modules | Functions/Subroutines | Variables
writecheckpoint.F90 File Reference

Go to the source code of this file.

Modules

module  checkpointer_write_checkpoint_mod
 Writes out model state_mod to a checkpoint NetCDF file.
 

Functions/Subroutines

subroutine, public checkpointer_write_checkpoint_mod::write_checkpoint_file (current_state, filename)
 Will write out the current model state_mod into a NetCDF checkpoint file. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_global_attributes (ncid)
 Writes out global attributes into the checkpoint. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_q_indices (ncid, q_indices_id)
 Writes out the specific Q indicies that are active and need writing. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_options (current_state, ncid, options_id)
 Writes out the options that the model was run with. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_all_fields (current_state, ncid, u_id, v_id, w_id, zu_id, zv_id, zw_id, th_id, zth_id, q_id, zq_id, p_id)
 Will write out all prognostic model fields to the checkpoint. It will work in 1, 2 or 3D depending on the model. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_velocity_field (ncid, local_grid, field, variable_id, multi_process, fourth_dim_loc)
 Will write out a single velocity field to the checkpoint file. If there are multiple processes then will determine the bounds, otherwise for serial just dump data field. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_grid (ncid, grid)
 Will write out the grid to the checkpoint, it will work in 1, 2 or 3D depending on what is in the model. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_mean_fields (ncid, grid)
 
subroutine checkpointer_write_checkpoint_mod::write_z_grid_gimension (ncid, vertical_grid)
 Writes out the Z dimension of the grids_mod points which are explicitly calculated. More...
 
subroutine checkpointer_write_checkpoint_mod::define_options_variable (current_state, ncid, string_dim_id, key_value_dim_id, options_id)
 Defines the NetCDF options variable which is basically a 3D character array to form key-value pair strings for each entry. More...
 
logical function checkpointer_write_checkpoint_mod::define_q_indices_variable (ncid, string_dim_id, key_value_dim_id, q_indices_id)
 Defines the NetCDF Q indices variable which is, same as the options, stored as key-value pair of strings. This will only store and create these dimensions if there are any Q indicies to store. More...
 
subroutine checkpointer_write_checkpoint_mod::define_q_field_dimension (current_state, ncid, q_dim_id)
 Defines the Q field dimension in the NetCDF. More...
 
subroutine checkpointer_write_checkpoint_mod::define_grid_dimensions (current_state, ncid, z_dim_id, y_dim_id, x_dim_id)
 Will define the grid dimensions and works for 1, 2 or 3D grids_mod. More...
 
subroutine checkpointer_write_checkpoint_mod::define_grid_variables (current_state, ncid)
 Defines the NetCDF grid variables. This works for 1, 2 or 3D grids_mod. More...
 
subroutine checkpointer_write_checkpoint_mod::define_mean_fields (current_state, ncid)
 
subroutine checkpointer_write_checkpoint_mod::define_q_variable (ncid, multi_process, q_dim_id, z_dim_id, y_dim_id, x_dim_id, q_id, zq_id)
 Defines the Q variable in the checkpoint file. More...
 
subroutine checkpointer_write_checkpoint_mod::define_prognostic_variables (current_state, multi_process, ncid, z_dim_id, y_dim_id, x_dim_id, u_id, v_id, w_id, th_id, p_id, zu_id, zv_id, zw_id, zth_id)
 Defines prognostic variables in the NetCDF. This handles 1, 2 and 3D grids_mod and 1, 2 and 3D fields, which most likely have the same dimensions but this is not mandatory here. All prognostic fields are 3D, if the grid is not 3D then the empty (size 1) dimension is used in that dimension. More...
 
subroutine checkpointer_write_checkpoint_mod::define_misc_variables (ncid, timestep_id, time_id, ugal_id, vgal_id, number_q_fields_id, dtm_id, dtm_new_id, absolute_new_dtm_id)
 Defines misc variables in the NetCDF file. More...
 
subroutine checkpointer_write_checkpoint_mod::write_out_misc_variables (current_state, ncid, timestep_id, time_id, ugal_id, vgal_id, number_q_fields_id, dtm_id, dtm_new_id, absolute_new_dtm_id)
 Will dump out (write) misc model data to the checkpoint. More...
 
subroutine checkpointer_write_checkpoint_mod::define_velocity_variable (ncid, multi_process, dimone, dimtwo, dimthree, field_name, field_id)
 Will define a single velocity variable in the NetCDF file. More...
 
subroutine checkpointer_write_checkpoint_mod::define_pdf_fields (current_state, ncid)
 
subroutine checkpointer_write_checkpoint_mod::write_out_pdf_fields (ncid, grid)
 

Variables

character(len= *), parameter checkpointer_write_checkpoint_mod::checkpoint_title = "MONC checkpoint file"
 Title of the NetCDF file. More...