NB: I wrote the code as succinctly as possible. It does not check all the things that can possibly go wrong (e.g. netcdf file missing, ncdump not found). It assumes that users know what they are doing. After a simulation, users can check the values that have been used to replace OFFSET and OFFSETOC in Elmer/Ice's main sif file.
NB: I wrote the code as succinctly as possible. It does not check all the things that can possibly go wrong (e.g. netcdf file missing, ncdump not found). It assumes that users know what they are doing. After a simulation, users can check the values that have been used to replace OFFSET and OFFSETOC in Elmer/Ice's main sif file.