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

Add libgdal-hdf5 dependency #293

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
sha256: b17e165fd6c85aeb0a281700bd89522af8c2676a2d7bdb51a6b242fa9f1779c9

build:
number: 4
number: 5
skip: true # [ppc64le]

requirements:
Expand Down Expand Up @@ -42,6 +42,7 @@ requirements:
- {{ pin_compatible('gdal', max_pin='x.x') }}
- geos
- ghostscript
- libgdal-hdf5
- libgdal-jp2openjpeg
- libnetcdf
- hdf5
Expand All @@ -64,6 +65,9 @@ test:
- gmt-config --all # [not win]
- gmt # [win]
- gmt grdmath -Rg -I1 0 90 SDIST = dist_to_NP.nc -x2
# Test reading/writing a netCDF/HDF5 file
- gmt grdcut @earth_relief_01d=gd:netCDF -R5/10/3/5 -Greliefcut.nc
Copy link
Member

Choose a reason for hiding this comment

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

Won't this use the libgdal-netcdf driver instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tried the HDF5 driver in f374cf3. It also doesn't work https://github.com/conda-forge/gmt-feedstock/runs/27696142205.

- "[ -e 'reliefcut.nc' ] && exit 0 || exit 1"
# Test reading/writing a JP2 file (S90E000.earth_relief_05m_p.jp2)
- gmt grdcut @earth_relief_05m -R-10/-9/3/5 -Greliefcut.jp2=gd:JP2OpenJPEG
- "[ -e 'reliefcut.jp2' ] && exit 0 || exit 1"
Expand Down
Loading