Skip to main content

No project description provided

Project description

Importing the executors:

For GetRasterExecutor:

from iharp_query_executor.get_raster_api import GetRasterExecutor

For GeoJsonExecutor:

from iharp_query_executor.get_geojson_executor import GeoJsonExecutor

For GetTimeseriesExecutor:

from iharp_query_executor.get_timeseries_api import GeoTimeseriesExecutor

For GetHeatmapExecutor:

from iharp_query_executor.get_heatmap_api import GeoHeatmapExecutor

For GetFindTimeExecutor:

from iharp_query_executor.get_find_time_api import GeoFindTimeExecutor

For GetFindAreaExecutor:

from iharp_query_executor.get_find_area_api import GeoFindAreaExecutor

To use the executors:

Each function requires the variables shown inside the function to wy. ork properl For GetRasterExecutor:

raster = GetRasterExecutor(
    variable=variable,
    start_datetime=start_datetime,
    end_datetime=end_datetime,
    temporal_resolution=temporal_resolution,
    min_lat=min_lat,
    max_lat=max_lat,
    min_lon=min_lon,
    max_lon=max_lon,
    spatial_resolution=spatial_resolution,
    aggregation=aggregation,
)

For GeoJsonExecutor:

geojson = GeoJsonExecutor(
    variable=variable,
    start_datetime=start_datetime,
    end_datetime=end_datetime,
    temporal_resolution=temporal_resolution,
    min_lat=min_lat,
    max_lat=max_lat,
    min_lon=min_lon,
    max_lon=max_lon,
    spatial_resolution=spatial_resolution,
    aggregation=aggregation,
    geojson_file=geojson_file
)

For GetTimeseriesExecutor:

timeseries = GetTimeseriesExecutor(
    variable=variable,
    start_datetime=start_datetime,
    end_datetime=end_datetime,
    temporal_resolution=temporal_resolution,
    min_lat=min_lat,
    max_lat=max_lat,
    min_lon=min_lon,
    max_lon=max_lon,
    aggregation=aggregation,
)

For GetHeatMapExecutor:

heatmap = GetHeatmapExecutor(
    variable=variable,
    start_datetime=start_datetime,
    end_datetime=end_datetime,
    min_lat=min_lat,
    max_lat=max_lat,
    min_lon=min_lon,
    max_lon=max_lon,
    spatial_resolution=spatial_resolution,
    aggregation=aggregation,
)

For GetFindTimeExecutor:

ft = GetFindTimeExecutor(
    variable=variable,
    start_datetime=start_datetime,
    end_datetime=end_datetime,
    temporal_resolution=temporal_resolution,
    min_lat=min_lat,
    max_lat=max_lat,
    min_lon=min_lon,
    max_lon=max_lon,
    aggregation=aggregation,
    filter_predicate=filter_predicate,
    filter_value=filter_value
)

For GetFindAreaExecutor:

fa = GetFindAreaExecutor( variable=variable, start_datetime=start_datetime, end_datetime=end_datetime, min_lat=min_lat, max_lat=max_lat, min_lon=min_lon, max_lon=max_lon, spatial_resolution=spatial_resolution, aggregation=aggregation, filter_predicate=filter_predicate, filter_value=filter_value )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iharp_query_executor-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iharp_query_executor-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file iharp_query_executor-0.1.0.tar.gz.

File metadata

  • Download URL: iharp_query_executor-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for iharp_query_executor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 31af68fadde8de7e9653bc91c23475f6a15b1914703cd85906e1fac12b89f94c
MD5 13ed3f78402ce6dc822bd184e7265b17
BLAKE2b-256 8fc8690f1b28539a25e13afed7c263cde7d7f8ec82465203a6aab299eede0de8

See more details on using hashes here.

File details

Details for the file iharp_query_executor-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iharp_query_executor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4856d880c2853aa4534a1ef5cc26de67fa3a58dd1fd48b473fe39c842a7e6762
MD5 56943531a6be10d8b91a5a850676132d
BLAKE2b-256 be45d85d541d8be3c142f0793277d08e30495d9f6054c5487e76f48299848226

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page