Utility and test scripts¶
In the test/
and util/
subdirectories of the PISM directory the user will find
some python scripts and one Matlab script, listed in Table 29. The
python scripts are all documented at the Packages tab on the PISM Source Code
Browser. The Python scripts all take option --help
.
Script |
Function |
---|---|
|
Organizes the process of verifying PISM. Specifies standard refinement paths for each of the tests (section Verification). |
|
Automates the creation of convergence graphs like figures Fig. 35 – Fig. 39. |
|
Uses an approximation to Laplace’s equation \(\nabla^2 u = 0\) to smoothly
replace missing values in a two-dimensional NetCDF variable. The “hole” is filled
with an average of the boundary non-missing values. Depends on |
|
See section Using PISM for flow-line modeling. |
|
See section Using PISM for flow-line modeling. |
|
Evaluate stationarity of a variable in a PISM |
|
Makes a netCDF file ready for Climate Data Operators (CDO). |
|
Reads specified variables from a NetCDF file and writes them to an output file in
the MATLAB binary data file format |
|
A script comparing variables in a given pair of NetCDF files; used by PISM software tests. |
|
Makes modifying or creating PISM configuration files easier. |
|
An example MATLAB script showing how to create a simple NetCDF file PISM can bootstrap from. |
|
Used by many Python example scripts to generate a PISM-compatible file with the right dimensions and time-axis. |
Previous | Up | Next |