geovista.pantry.meshes#
Download, cache, load and transform geovista sample data into a pyvista mesh.
Notes#
Added in version 0.5.0.
Module Contents#
Functions#
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
Create a mesh from |
|
|
Create a mesh from |
|
Load a pre-defined LFRic mesh available from the |
|
Create a mesh from |
Create a mesh from |
|
Create a mesh from |
|
|
Create a point-cloud mesh from |
Create a mesh from |
|
|
Generate a regular grid given the resolution. |
|
Create a mesh from |
Create a mesh from |
Attributes#
The default LFRic model unstructured cubed-sphere resolution. |
|
The available Met Office cubed-sphere assets. |
|
The default mesh preference. |
|
Default regular grid resolution. |
|
The default warp factor for mesh points. |
|
Proportional multiplier for point-cloud levels/offsets. |
- geovista.pantry.meshes.cloud_amount(preference=None)[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a Met Office c768 unstructured cubed-sphere with optional cloud amount data.
- Parameters:
- preference
strorCloudPreference, optional The cloud type, which may be
low,medium,high,very_highormesh. Defaults tomesh, the c768 mesh with no data payload attached.
- preference
- Returns:
PolyDataThe unstructured cubed-sphere mesh.
Notes
Added in version 0.4.0.
- geovista.pantry.meshes.dynamico()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a DYNAMICO icosahedral mesh.
- Returns:
PolyDataThe DYNAMICO mesh.
Notes
Added in version 0.3.0.
- geovista.pantry.meshes.fesom()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a AWI-CM FESOM 1.4 mesh with Sea Surface Temperature data.
- Returns:
PolyDataThe FESOM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.fvcom_tamar(preference=None, warp=False, factor=None)[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a Plymouth Marine Laboratory (PML) Finite Volume Community Ocean Model (FVCOM) mesh of the Tamar Estuaries and Plymouth Sound.
- Parameters:
- preference
strorPreference, optional Render the mesh using
cellorpointdata. Defaults toPREFERENCE.- warp
bool, default=False Warp the mesh nodes by the
pointdata.- factor
float, optional The scale factor used to warp the mesh. Defaults to
WARP_FACTOR.
- preference
- Returns:
PolyDataThe FVCOM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.icon_soil()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate an Icosahedral Nonhydrostatic Weather and Climate Model (ICON) global 160km resolution (R02B04 grid) triangular mesh with soil type data.
- Returns:
PolyDataThe ICON mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_equator()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located at the equator.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_falklands()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located over the Falkland Islands.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_london()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located over London, United Kingdom.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_new_zealand()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located over New Zealand.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_pacific()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a high-resolution Local Area Model (LAM) mesh located over the Pacific Ocean.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_polar()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located over the Polar cap.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lam_uk()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a C4 cubed-sphere Local Area Model (LAM) mesh located over the United Kingdom.
- Returns:
PolyDataThe LAM mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lfric(resolution=None)[source]#
Load a pre-defined LFRic mesh available from the
CACHE.Get the LFRic model unstructured cubed-sphere at the specified resolution.
- Parameters:
- resolution
str, optional The resolution of the LFRic model mesh, which may be either
c48,c96orc192. Defaults toLFRIC_RESOLUTION. Also seeLFRIC_RESOLUTIONS.
- resolution
- Returns:
PolyDataThe LFRic cubed-sphere mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lfric_orog(warp=False, factor=None)[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global surface altitude mesh.
- Parameters:
- warp
bool, default=False Warp the mesh nodes by the orography
pointdata.- factor
float, optional The scale factor used to warp the mesh. Defaults to
WARP_FACTOR.
- warp
- Returns:
PolyDataThe orography mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.lfric_sst()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global Sea Surface Temperature (SST) mesh.
- Returns:
PolyDataThe SST mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.nemo_orca2()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global Sea Water Potential Temperature ORCA2 mesh.
- Returns:
PolyDataThe ORCA2 mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.nemo_orca2_cloud(zscale=None)[source]#
Create a point-cloud mesh from
geovista.pantry.datasample data.Generate an ORCA2 point-cloud of Sea Water Potential Temperature gradients.
- Parameters:
- zscale
float, optional The proportional multiplier for z-axis
zlevel. Defaults toZLEVEL_SCALE_CLOUD.
- zscale
- Returns:
PolyDataThe ORCA2 point-cloud.
Notes
Added in version 0.2.0.
- geovista.pantry.meshes.oisst_avhrr_sst()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global Sea Surface Temperature (SST) NOAA/NCEI OISST AVHRR mesh.
- Returns:
PolyDataThe SST mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.regular_grid(resolution=None, radius=None)[source]#
Generate a regular grid given the resolution.
- Parameters:
- resolution
str, optional In the format of
rN, whereNis the number of cells in latitude, andN * 1.5cells in longitude. Defaults toREGULAR_RESOLUTION.- radius
float, optional The radius of the sphere. Defaults to
geovista.common.RADIUS.
- resolution
- Returns:
PolyDataThe regular longitude/latitude grid mesh.
Notes
Added in version 0.3.0.
- geovista.pantry.meshes.ww3_global_smc(step=None)[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global Sea Surface Wave Significant Height WAVEWATCH III (WW3) Spherical Multi-Cell (SMC) mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.ww3_global_tri()[source]#
Create a mesh from
geovista.pantry.datasample data.Generate a global Sea Surface Wave Significant Height WAVEWATCH III (WW3) triangular mesh.
- Returns:
PolyDataThe WW3 mesh.
Notes
Added in version 0.1.0.
- geovista.pantry.meshes.LFRIC_RESOLUTION: str = 'c96'#
The default LFRic model unstructured cubed-sphere resolution.
- geovista.pantry.meshes.LFRIC_RESOLUTIONS: list[str] = ['c48', 'c96', 'c192']#
The available Met Office cubed-sphere assets.
- geovista.pantry.meshes.PREFERENCE: geovista.common.Preference#
The default mesh preference.