MONC
|
Loads in the configuration stored in a NetCDF checkpoint file for the model to start from. More...
Functions/Subroutines | |
subroutine, public | parse_configuration_checkpoint_netcdf (options_database, checkpoint_name, communicator) |
Will parse the NetCDF checkpoint file and loads the configuration into the options database. More... | |
subroutine | load_options (options_database, ncid) |
Will read in and initialise the options database from the contents of the checkpoint file. More... | |
subroutine | remove_null_terminator_from_string (net_cdf_string) |
Removes NetCDF C style null termination of string. This is placed right at the end, after any spaces so trim will not actually trim any spaces due to null terminator. More... | |
integer function | get_number_of_options (ncid) |
Retrieves the number of option key-value pairs that are present in the checkpoint file. More... | |
Variables | |
character(len= *), parameter | options_key ="options_database" |
The options key which references the configuration. More... | |
character(len= *), parameter | options_dim_key ="number_options" |
Options dimension key. More... | |
Loads in the configuration stored in a NetCDF checkpoint file for the model to start from.
|
private |
Retrieves the number of option key-value pairs that are present in the checkpoint file.
ncid | The NetCDF file id |
Definition at line 89 of file checkpointnetcdfparser.F90.
|
private |
Will read in and initialise the options database from the contents of the checkpoint file.
options_database | The options database to store the values into |
ncid | The NetCDF file id |
Definition at line 44 of file checkpointnetcdfparser.F90.
subroutine, public configuration_checkpoint_netcdf_parser_mod::parse_configuration_checkpoint_netcdf | ( | type(hashmap_type), intent(inout) | options_database, |
character(*), intent(in) | checkpoint_name, | ||
integer, intent(in) | communicator | ||
) |
Will parse the NetCDF checkpoint file and loads the configuration into the options database.
options_database | The options database |
checkpoint_name | Name of the checkpoint file |
communicator | MPI communicator for parallel IO |
Definition at line 29 of file checkpointnetcdfparser.F90.
|
private |
Removes NetCDF C style null termination of string. This is placed right at the end, after any spaces so trim will not actually trim any spaces due to null terminator.
netCDFString | The NetCDF string to remove the null terminator from which is modified |
Definition at line 75 of file checkpointnetcdfparser.F90.
|
private |
Options dimension key.
Definition at line 19 of file checkpointnetcdfparser.F90.
|
private |
The options key which references the configuration.
Definition at line 19 of file checkpointnetcdfparser.F90.