# This file created by conda-build 2.1.17
# meta.yaml template originally from:
# /recipe_root, last modified Wed Nov  8 13:33:28 2017
# ------------------------------------------------

package:
    name: libnetcdf
    version: 4.5.0
source:
    patches:
        - back_port_512.patch
        - back_port_573.patch
    sha256: f7d1cb2a82100b9bf9a1130a50bc5c7baf0de5b5022860ac3e09a0a32f83cf4a
    url: https://github.com/Unidata/netcdf-c/archive/v4.5.0.tar.gz
build:
    features: ''
    noarch: ''
    noarch_python: false
    number: '3'
    string: '3'
requirements:
    build:
        - ncurses 5.9 10
        - expat 2.2.1 0
        - ca-certificates 2017.7.27.1 0
        - libgfortran 3.0.0 1
        - hdf4 4.2.13 0
        - rhash 1.3.4 0
        - krb5 1.14.2 0
        - zlib 1.2.11 0
        - libuv 1.11.0 0
        - xz 5.2.3 0
        - curl 7.55.1 0
        - openssl 1.0.2l 0
        - libssh2 1.8.0 2
        - cmake 3.9.3 0
        - bzip2 1.0.6 1
        - pkg-config 0.29.1 2
        - jpeg 9b 2
        - hdf5 1.10.1 1
    run:
        - curl >=7.44.0,<8
        - zlib 1.2.11
        - hdf4
        - hdf5 1.10.1
test:
    commands:
        - nc-config --all
        - test -f ${PREFIX}/lib/libnetcdf.a
        - test -f ${PREFIX}/lib/libnetcdf.so
        - ncdump -h "http://geoport-dev.whoi.edu/thredds/dodsC/estofs/atlantic"
        - ncdump -h "https://data.nodc.noaa.gov/thredds/dodsC/ioos/sccoos/scripps_pier/scripps_pier-2016.nc"
        - ncdump -h "http://oos.soest.hawaii.edu/thredds/dodsC/hioos/model/atm/ncep_pac/NCEP_Pacific_Atmospheric_Model_best.ncd"
        - ncdump -h "http://oos.soest.hawaii.edu/thredds/dodsC/usgs_dem_10m_tinian"
        - conda inspect linkages -p $PREFIX $PKG_NAME
about:
    home: http://www.unidata.ucar.edu/software/netcdf/
    license: MIT
    license_file: COPYRIGHT
    summary: Libraries and data formats that support array-oriented scientific data.
extra:
    final: true
    recipe-maintainers:
        - groutr
        - ocefpaf
        - kmuehlbauer
