podpac.data.WCS

class podpac.data.WCS(**kwargs)[source]

Bases: podpac.core.data.datasource.DataSource

Create a DataSource from an OGC-complient WCS service

crs

Default is EPSG:4326 (WGS84 Geodic) EPSG number for the coordinate reference system that the data should be returned in.

Type

‘str’

layer_name

Name of the WCS layer that should be fetched from the server

Type

str

source

URL of the WCS server endpoint

Type

str

version

Default is 1.0.0. WCS version string.

Type

str

wcs_coordinates

The coordinates of the WCS source

Type

Coordinates

Methods

__init__(**kwargs)

Do not overwrite me

create_output_array(coords[, data])

Initialize an output data array

eval(coordinates[, output])

Evaluates this node using the supplied coordinates.

eval_group(group)

Evaluate the node for each of the coordinates in the group.

find_coordinates()

Get the available native coordinates for the Node.

get_cache(key[, coordinates])

Get cached data for this node.

get_data(coordinates, coordinates_index)

{get_data}

get_native_coordinates()

Returns a Coordinates object that describes the native coordinates of the data source.

has_cache(key[, coordinates])

Check for cached data for this node.

init()

Overwrite this method if a node needs to do any additional initialization after the standard initialization.

put_cache(data, key[, coordinates, overwrite])

Cache data for this node.

rem_cache(key[, coordinates, mode, all_cache])

Clear cached data for this node.

Attributes

base_definition

Base node defintion for DataSource nodes.

base_ref

Summary

cache_ctrl

A trait whose value must be an instance of a specified class.

cache_output

A boolean (True, False) trait.

cache_update

A boolean (True, False) trait.

coordinate_index_type

An enum whose value must be in a given sequence.

crs

A trait for unicode strings.

definition

Full pipeline definition for this node.

dtype

A trait which allows any value.

get_capabilities_url

Constructs the url that requests the WCS capabilities

get_wcs_coordinates

hash

interpolation

A trait type representing a Union type.

interpolation_class

Get the interpolation class currently set for this data source.

interpolators

Return the interpolators selected for the previous node evaluation interpolation.

json

definition for this node in json format

json_pretty

layer_name

A trait for unicode strings.

nan_vals

An instance of a Python list.

native_coordinates

The coordinates of the data source.

pipeline

Create a pipeline node from this node

source

A trait for unicode strings.

style

A trait whose value must be an instance of a specified class.

units

A trait for unicode strings.

version

A trait for unicode strings.

wcs_coordinates

A trait whose value must be an instance of a specified class.

Members

__init__(**kwargs)

Do not overwrite me

base_ref

Summary

Returns

Description

Return type

TYPE

crs

A trait for unicode strings.

get_capabilities_url

Constructs the url that requests the WCS capabilities

Returns

The url that requests the WCS capabilities

Return type

str

get_data(coordinates, coordinates_index)[source]

{get_data}

Raises

Exception – Raises this if there is a network error or required dependencies are not installed.

get_wcs_coordinates
layer_name

A trait for unicode strings.

native_coordinates

The coordinates of the data source.

Returns

The coordinates of the data source.

Return type

Coordinates

Notes

This is a little tricky and doesn’t fit into the usual PODPAC method, as the service is actually doing the data wrangling for us…

source

A trait for unicode strings.

version

A trait for unicode strings.

wcs_coordinates

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute