Metadata-Version: 2.4
Name: iharp_query_executor
Version: 0.1.0
Home-page: https://github.com/iharp3/iharp-python-library
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: jupyter
Requires-Dist: xarray
Requires-Dist: netcdf4
Requires-Dist: h5py
Requires-Dist: dask[complete]
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: plotly
Requires-Dist: cdsapi
Requires-Dist: shapely
Requires-Dist: matplotlib
Requires-Dist: geopandas
Requires-Dist: requests
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python



# 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
  )
