Required
name| Type: | str |
| Description: | Name of the topography. |
class MohoTopography(
salvus.project.configuration.topography.spherical._SphericalBase
):
def __init__(
self, name: str, data: pathlib.Path | str, use_symlink: bool = False
): ...| Type: | str |
| Description: | Name of the topography. |
| Type: | pathlib.Path | str |
| Description: | Filename with the data. |
| Type: | bool |
| Default value: | False |
| Description: | Don't copy the data to the project but only symlink it. The downside of symlinking is that the project is no longer fully self-contained. The upside is that very large external files that could be used for multiple projects don't get copied. |
np.ndarray | tuple[np.ndarray, np.ndarray])-Coordinates of the data values.xr.Dataset)-The actual dataset representing the model.str)-Name of the topography configuration.float | None)-Don't deform below this value.float)-Reference elevation height.np.ndarray)-Relative elevation model.def from_json(parent_folder: pathlib.Path, d: dict) -> _ModelBase: ...| Type: | pathlib.Path |
| Description: | Path to which the serialized model is relative to. |
| Type: | dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(self, parent_folder: pathlib.Path | str) -> dict: ...| Type: | pathlib.Path | str |
| Description: | Parent folder where the JSON + NetCDF files should be stored. |
class SurfaceTopography(
salvus.project.configuration.topography.spherical._SphericalBase
):
def __init__(
self, name: str, data: pathlib.Path | str, use_symlink: bool = False
): ...| Type: | str |
| Description: | Name of the topography. |
| Type: | pathlib.Path | str |
| Description: | Filename with the data. |
| Type: | bool |
| Default value: | False |
| Description: | Don't copy the data to the project but only symlink it. The downside of symlinking is that the project is no longer fully self-contained. The upside is that very large external files that could be used for multiple projects don't get copied. |
np.ndarray | tuple[np.ndarray, np.ndarray])-Coordinates of the data values.xr.Dataset)-The actual dataset representing the model.str)-Name of the topography configuration.float | None)-Don't deform below this value.float)-Reference elevation height.np.ndarray)-Relative elevation model.def from_json(parent_folder: pathlib.Path, d: dict) -> _ModelBase: ...| Type: | pathlib.Path |
| Description: | Path to which the serialized model is relative to. |
| Type: | dict |
| Description: | Dictionary containing its init parameters and a few other things. |
def to_json(self, parent_folder: pathlib.Path | str) -> dict: ...| Type: | pathlib.Path | str |
| Description: | Parent folder where the JSON + NetCDF files should be stored. |