geovista.pantry.data

On this page

geovista.pantry.data#

Download, cache and load geovista sample data.

ノート#

Added in version 0.5.0.

属性#

CLOUD_AMOUNT_PREFERENCE

The default type of cloud amount mesh.

Classes#

CloudPreference

Enumeration of mesh types for cloud amount.

SampleGridXYZ

Data container for structured grid.

SamplePointsXYZ

Data container for point cloud.

SampleStructuredXY

Data container for structured surface.

SampleUnstructuredXY

Data container for unstructured surface.

SampleVectorsXYUVW

Data container for vector information on unconnected points.

Functions#

capitalise(title)

Capitalise each word and replace inappropriate characters.

cloud_amount(*[, preference])

Download and cache unstructured cloud amount data.

dynamico()

Download and cache unstructured surface sample data.

fesom()

Download and cache unstructured surface sample data.

fvcom_tamar()

Download and cache unstructured surface sample data.

icon_soil()

Download and cache unstructured surface sample data.

lam_equator()

Download and cache unstructured surface sample data.

lam_falklands()

Download and cache unstructured surface sample data.

lam_london()

Download and cache unstructured surface sample data.

lam_new_zealand()

Download and cache unstructured surface sample data.

lam_pacific()

Download and cache unstructured surface sample data.

lam_polar()

Download and cache unstructured surface sample data.

lam_uk()

Download and cache unstructured surface sample data.

lfric_orog()

Download and cache unstructured surface sample data.

lfric_sst()

Download and cache unstructured surface sample data.

lfric_winds()

Download and cache unstructured 3D winds sample.

name_reykjanes()

Download and cache structured grid sample.

nemo_orca2()

Download and cache structured surface sample data.

nemo_orca2_gradient()

Download and cache point-cloud sample data.

oisst_avhrr_sst()

Download and cache structured surface sample data.

usgs_earthquakes()

Download and cache the USGS HoloViz large earthquake dataset.

ww3_global_smc(*[, step])

Download and cache unstructured surface sample data.

ww3_global_tri()

Download and cache unstructured surface sample data.

モジュール内容#

class geovista.pantry.data.CloudPreference[ソース]#

Bases: geovista.common.StrEnumPlus

Enumeration of mesh types for cloud amount.

ノート#

Added in version 0.4.0.

Initialize self. See help(type(self)) for accurate signature.

HIGH = 'high'#
LOW = 'low'#
MEDIUM = 'medium'#
MESH = 'mesh'#
VERY_HIGH = 'very_high'#
class geovista.pantry.data.SampleGridXYZ[ソース]#

Data container for structured grid.

data: numpy.typing.ArrayLike | None = None#
name: str | None = None#
poi: geopy.location.Location | None = None#
units: str | None = None#
xs: numpy.typing.ArrayLike#
ys: numpy.typing.ArrayLike#
zs: numpy.typing.ArrayLike#
class geovista.pantry.data.SamplePointsXYZ[ソース]#

Data container for point cloud.

data: numpy.typing.ArrayLike | None = None#
lats: numpy.typing.ArrayLike#
lons: numpy.typing.ArrayLike#
name: str | None = None#
steps: int | None = None#
units: str | None = None#
zlevel: numpy.typing.ArrayLike#
class geovista.pantry.data.SampleStructuredXY[ソース]#

Data container for structured surface.

data: numpy.typing.ArrayLike | None = None#
lats: numpy.typing.ArrayLike#
lons: numpy.typing.ArrayLike#
name: str | None = None#
steps: int | None = None#
units: str | None = None#
class geovista.pantry.data.SampleUnstructuredXY[ソース]#

Data container for unstructured surface.

connectivity: numpy.typing.ArrayLike#
data: numpy.typing.ArrayLike | None = None#
face: numpy.typing.ArrayLike | None = None#
lats: numpy.typing.ArrayLike#
lons: numpy.typing.ArrayLike#
name: str | None = None#
node: numpy.typing.ArrayLike | None = None#
start_index: int | None = None#
steps: int | None = None#
units: str | None = None#
class geovista.pantry.data.SampleVectorsXYUVW[ソース]#

Data container for vector information on unconnected points.

lats: numpy.typing.ArrayLike#
lons: numpy.typing.ArrayLike#
name: str | None = None#
steps: int | None = None#
u: numpy.typing.ArrayLike#
units: str | None = None#
v: numpy.typing.ArrayLike#
w: numpy.typing.ArrayLike = None#
geovista.pantry.data.capitalise(title)[ソース]#

Capitalise each word and replace inappropriate characters.

Parameters:
titlestr

The string title to be reformatted.

Returns:
str

The capitalised title.

ノート

Added in version 0.1.0.

geovista.pantry.data.cloud_amount(*, preference=None)[ソース]#

Download and cache unstructured cloud amount data.

Load Met Office LFRic c768 unstructured cubed-sphere quad-mesh cloud amount data.

Parameters:
preferencestr or CloudPreference, optional

The cloud type, which may be low, medium, high, very_high or mesh. Defaults to mesh, the c768 mesh with no data payload attached.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.4.0.

geovista.pantry.data.dynamico()[ソース]#

Download and cache unstructured surface sample data.

Load DYNAMICO icosahedral unstructured mesh.

Returns:
SampleUnstructuredXY

The hexagonal/pentagonal unstructured spatial coordinates and data payload.

ノート

Added in version 0.3.0.

geovista.pantry.data.fesom()[ソース]#

Download and cache unstructured surface sample data.

Load AWI-CM FESOM 1.4 unstructured mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.fvcom_tamar()[ソース]#

Download and cache unstructured surface sample data.

Load PML FVCOM unstructured mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.icon_soil()[ソース]#

Download and cache unstructured surface sample data.

Load Icosahedral Nonhydrostatic Weather and Climate Model (ICON) global 160km resolution (R02B04 grid) triangular mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

References

Sourced from http://icon-downloads.mpimet.mpg.de/dwd_grids.xml

geovista.pantry.data.lam_equator()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over the equator.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_falklands()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over the Falkland Islands.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_london()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over London, UK.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_new_zealand()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over New Zealand.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_pacific()[ソース]#

Download and cache unstructured surface sample data.

Load a high-resolution LAM unstructured mesh located over the Pacific Ocean.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_polar()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over the Polar cap.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lam_uk()[ソース]#

Download and cache unstructured surface sample data.

Load the GungHo C4 cubed-sphere LAM unstructured mesh located over the UK.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and connectivity.

ノート

Added in version 0.1.0.

geovista.pantry.data.lfric_orog()[ソース]#

Download and cache unstructured surface sample data.

Load CF UGRID global nodal orography unstructured mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.lfric_sst()[ソース]#

Download and cache unstructured surface sample data.

Load CF UGRID global unstructured mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.lfric_winds()[ソース]#

Download and cache unstructured 3D winds sample.

This data is derived from the LFRic test suite.

Returns:
SampleVectorsXYUVW

Data payload with XY spatial coordinates and UVW wind components.

ノート

Added in version 0.6.0.

geovista.pantry.data.name_reykjanes()[ソース]#

Download and cache structured grid sample.

Load NAME Reykjanes structured grid.

Returns:
SampleGridXYZ

The structured grid spatial coordinates and data payload.

ノート

Added in version 0.6.0.

geovista.pantry.data.nemo_orca2()[ソース]#

Download and cache structured surface sample data.

Load NEMO ORCA2 curvilinear mesh.

Returns:
SampleStructuredXY

The curvilinear spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.nemo_orca2_gradient()[ソース]#

Download and cache point-cloud sample data.

Load NEMO ORCA2 curvilinear mesh with gradient filter.

Returns:
SamplePointsXYZ

The gradient filtered spatial coordinates and data payload.

ノート

Added in version 0.2.0.

geovista.pantry.data.oisst_avhrr_sst()[ソース]#

Download and cache structured surface sample data.

Load NOAA/NCEI OISST AVHRR rectilinear mesh.

Returns:
SampleStructuredXY

The curvilinear spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.usgs_earthquakes()[ソース]#

Download and cache the USGS HoloViz large earthquake dataset.

Returns:
SamplePointsXYZ

The spatial coordinates and data payload.

ノート

Added in version 0.4.0.

geovista.pantry.data.ww3_global_smc(*, step=None)[ソース]#

Download and cache unstructured surface sample data.

Load the WAVEWATCH III (WW3) unstructured Spherical Multi-Cell (SMC) mesh.

Parameters:
stepint, default=0

The time-series offset.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.ww3_global_tri()[ソース]#

Download and cache unstructured surface sample data.

Load the WAVEWATCH III (WW3) unstructured triangular mesh.

Returns:
SampleUnstructuredXY

The unstructured spatial coordinates and data payload.

ノート

Added in version 0.1.0.

geovista.pantry.data.CLOUD_AMOUNT_PREFERENCE: str = 'mesh'#

The default type of cloud amount mesh.