GeoHealthCheck.plugins.probe.wcs ================================ .. py:module:: GeoHealthCheck.plugins.probe.wcs Classes ------- .. autoapisummary:: GeoHealthCheck.plugins.probe.wcs.WcsGetCoverage Module Contents --------------- .. py:class:: WcsGetCoverage Bases: :py:obj:`GeoHealthCheck.probe.Probe` Get WCS coverage image using the OGC WCS GetCoverage v2.0.1 Operation. .. py:attribute:: NAME :value: 'WCS GetCoverage v2.0.1' Short name of Plugin. TODO: i18n e.g. NAME_nl_NL ? .. py:attribute:: DESCRIPTION :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ Do WCS GetCoverage v2.0.1 request with user-specified parameters for single Layer. """ .. raw:: html
Longer description of Plugin. TODO: optional i18n e.g. DESCRIPTION_de_DE ? .. py:attribute:: RESOURCE_TYPE :value: 'OGC:WCS' Type of GHC Resource e.g. 'OGC:WMS', default not applicable. .. py:attribute:: REQUEST_METHOD :value: 'GET' HTTP request method capitalized, GET (default) or POST. .. py:attribute:: REQUEST_TEMPLATE :value: '?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID={layers}&FORMAT={format}&SUBSET=x({sub... Template in standard Python `str.format(*args)`. The variables like {service} and {version} within a template are filled from actual values for parameters defined in PARAM_DEFS and substituted from values or constant values specified by user in GUI and stored in DB. .. py:attribute:: PARAM_DEFS Param defs .. py:attribute:: CHECKS_AVAIL Checks for WCS GetCoverage Response available. Optionally override Check PARAM_DEFS using set_params e.g. with specific `value` or even `name`. .. py:attribute:: layer_count :value: 0 .. py:method:: get_metadata(resource, version='2.0.1') Get metadata, specific per Resource type. :param resource: :param version: :return: Metadata object .. py:method:: expand_params(resource) Called after creation. Use to expand PARAM_DEFS, e.g. from Resource metadata like WMS Capabilities. See e.g. WmsGetMapV1 class. :param resource: :return: None