Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ARIA-tools #22370

Merged
merged 17 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/ARIA-tools/build_base.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export SETUPTOOLS_SCM_PRETEND_VERSION="$PKG_VERSION"
$PYTHON -m pip install . -vv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this file with the script line in the recipe.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am interpreting the comment as requesting to remove build.sh. Is that correct? Or should I remove one of the lines?

Thanks for your help with this.

87 changes: 87 additions & 0 deletions recipes/ARIA-tools/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{% set name = "ARIA-tools" %}
{% set version = "1.1.5" %}


package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/aria-tools/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
sha256: c544fee1c539f38e23897d27332a6af0f45d48874e651a096993dbd311cbbf48

build:
script:
- export SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}
- {{ PYTHON }} -m pip install . -vv
number: 0
skip: true # [py<38 or win]
cmarshak marked this conversation as resolved.
Show resolved Hide resolved

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
host:
- python
- pip
- pybind11 >=2.5.0
- setuptools >61.0
- setuptools_scm >6.2
- python-build
- numpy
- cython
run:
- python
- asf_search
- cartopy
- gdal>=3.4.1
dbekaert marked this conversation as resolved.
Show resolved Hide resolved
- h5py
- joblib
- matplotlib-base
- netcdf4
- pandas
- xarray
- rasterio
- rioxarray
- pip
- pyproj
- requests
- scipy<1.10
dbekaert marked this conversation as resolved.
Show resolved Hide resolved
- mintpy
- shapely

test:
imports:
- ARIA-tools
Copy link
Contributor

@cmarshak cmarshak Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ARIAtools

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I install, I can do something like from ARIAtools import ARIAProduct

dbekaert marked this conversation as resolved.
Show resolved Hide resolved
requires:
- pip
commands:
- pip check
- ariaExtract.py -h
- ariaDownload.py -h
- ariaTSsetup.py -h
- ariaPlot -h
- ariaMisclosure.py -h
- ariaAOIassist.py -h
dbekaert marked this conversation as resolved.
Show resolved Hide resolved

about:
home: https://github.com/aria-tools/ARIA-tools
summary: Advanced Rapid Imaging and Analysis Product Toolkit
description: |
ARIA-tools is an open-source package in Python which contains tools to
manipulate ARIA standard InSAR products. Its development was funded under
the NASA Sea-level Change Team (NSLCT) program and the Earth Surface
and Interior (ESI) program. U.S. Government sponsorship acknowledged.
license: Apache-2.0
license_family: Apache
license_file: LICENSE
doc_url: https://github.com/dbekaert/RAiDER-docs
dev_url: https://github.com/aria-tools/ARIA-tools-docs

extra:
recipe-maintainers:
- sssangha
- cmarshak
- jhkennedy
- dbekaert