From cf07462187f56c8c25bfd726280ef5f6f9509eeb Mon Sep 17 00:00:00 2001 From: konstntokas Date: Thu, 27 Feb 2025 17:06:06 +0100 Subject: [PATCH 1/2] xarray-eopf recipe added --- recipes/xarray-eopf/meta.yaml | 52 +++++++++++++++++++++++++++++ recipes/xcube-stac/meta.yaml | 61 ----------------------------------- 2 files changed, 52 insertions(+), 61 deletions(-) create mode 100644 recipes/xarray-eopf/meta.yaml delete mode 100644 recipes/xcube-stac/meta.yaml diff --git a/recipes/xarray-eopf/meta.yaml b/recipes/xarray-eopf/meta.yaml new file mode 100644 index 0000000000000..c008a0dbf026b --- /dev/null +++ b/recipes/xarray-eopf/meta.yaml @@ -0,0 +1,52 @@ +{% set name = "xarray-eopf" %} +{% set version = "0.0.1" %} +{% set python_min = "3.10" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/xcube-dev/xcube-eopf/archive/refs/tags/v{{ version }}.tar.gz + sha256: c31ea8121c5ffe9c083b3706dbae78cfdb1993473226567cf64cb265b8801937 + +build: + number: 0 + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + host: + - python {{ python_min }} + - pip + - setuptools + run: + - python >={{ python_min }} + - fsspec + - numpy + - pandas + - xarray >=2024.10 + - zarr + +test: + imports: + - xarray_eopf + commands: + - pip check + requires: + - python {{ python_min }} + - pip + +about: + summary: A backend implmentation for xarray that allows for analysis-ready reading of ESA EOPF data products. + home: https://github.com/EOPF-Sample-Service/xarray-eopf + license: Apache-2.0 + license_family: Apache + license_file: LICENSE + description: xarray-eopf is a Python package + dev_url: https://github.com/EOPF-Sample-Service/xarray-eopf + +extra: + recipe-maintainers: + - konstntokas + - forman \ No newline at end of file diff --git a/recipes/xcube-stac/meta.yaml b/recipes/xcube-stac/meta.yaml deleted file mode 100644 index c90ab167cf785..0000000000000 --- a/recipes/xcube-stac/meta.yaml +++ /dev/null @@ -1,61 +0,0 @@ -{% set name = "xcube-stac" %} -{% set version = "0.1.0" %} -{% set python_min = "3.10" %} - -package: - name: {{ name|lower }} - version: {{ version }} - -source: - url: https://github.com/xcube-dev/xcube-stac/archive/refs/tags/v{{ version }}.tar.gz - sha256: c31ea8121c5ffe9c083b3706dbae78cfdb1993473226567cf64cb265b8801937 - -build: - number: 0 - noarch: python - script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation - -requirements: - host: - - python {{ python_min }} - - pip - - setuptools - run: - - python >={{ python_min }} - - boto3 - - dask - - libgdal-jp2openjpeg - - numpy - - pandas - - pyproj - - pystac - - pystac-client - - rasterio - - requests - - rioxarray - - xarray - - xmltodict - - xcube >=1.8.1 - -test: - requires: - - python {{ python_min }} - imports: - - xcube_stac - -about: - summary: xcube-stac provides a data store for accessing data from STAC (SpatioTemporal Asset Catalogs). - home: https://github.com/xcube-dev/xcube-stac - license: MIT - license_family: MIT - license_file: LICENSE - description: xcube-stac is a Python package - dev_url: https://github.com/xcube-dev/xcube-stac - -extra: - recipe-maintainers: - - konstntokas - - forman - - TonioF - - thomasstorm - - b-yogesh From 87db62e859f7d72586dd4a937cf62c91832e3007 Mon Sep 17 00:00:00 2001 From: konstntokas Date: Fri, 28 Feb 2025 14:29:01 +0100 Subject: [PATCH 2/2] Add xcube-eopf --- recipes/{xarray-eopf => xcube-eopf}/meta.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) rename recipes/{xarray-eopf => xcube-eopf}/meta.yaml (60%) diff --git a/recipes/xarray-eopf/meta.yaml b/recipes/xcube-eopf/meta.yaml similarity index 60% rename from recipes/xarray-eopf/meta.yaml rename to recipes/xcube-eopf/meta.yaml index c008a0dbf026b..86e875efc0305 100644 --- a/recipes/xarray-eopf/meta.yaml +++ b/recipes/xcube-eopf/meta.yaml @@ -1,4 +1,4 @@ -{% set name = "xarray-eopf" %} +{% set name = "xcube-eopf" %} {% set version = "0.0.1" %} {% set python_min = "3.10" %} @@ -7,7 +7,7 @@ package: version: {{ version }} source: - url: https://github.com/xcube-dev/xcube-eopf/archive/refs/tags/v{{ version }}.tar.gz + url: https://github.com/EOPF-Sample-Service/xcube-eopf/archive/refs/tags/v{{ version }}.tar.gz sha256: c31ea8121c5ffe9c083b3706dbae78cfdb1993473226567cf64cb265b8801937 build: @@ -25,12 +25,14 @@ requirements: - fsspec - numpy - pandas - - xarray >=2024.10 + - xarray + - xcube + - xarray-eopf - zarr test: imports: - - xarray_eopf + - xcube_eopf commands: - pip check requires: @@ -38,13 +40,13 @@ test: - pip about: - summary: A backend implmentation for xarray that allows for analysis-ready reading of ESA EOPF data products. - home: https://github.com/EOPF-Sample-Service/xarray-eopf + summary: A xcube datastore implementation that allows for analysis-ready reading of ESA EOPF data products. + home: https://github.com/EOPF-Sample-Service/xcube-eopf license: Apache-2.0 license_family: Apache license_file: LICENSE - description: xarray-eopf is a Python package - dev_url: https://github.com/EOPF-Sample-Service/xarray-eopf + description: xcube-eopf is a Python package + dev_url: https://github.com/EOPF-Sample-Service/xcube-eopf extra: recipe-maintainers: