gcpy.examples.working_with_files.insert_field_into_restart_file

Adds an extra DataArray into restart files.

Examples

  1. Copy this file to a different folder and navigate to that folder.

  2. In your copy, edit file names for your use case.

  3. Run the following commands:

$ conda activate gcpy_env
(gcpy_env) $ ./insert_field_into_restart_file.py

Functions

main()

Appends extra species to restart files.

gcpy.examples.working_with_files.insert_field_into_restart_file.main()[source]

Appends extra species to restart files.