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 pyrte_rrtmgp recipe #25894

Merged
merged 29 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6a2ad25
add pyrte_rrtmgp recipe
giancastro Mar 28, 2024
e5de5af
fix linting warnings
giancastro Mar 28, 2024
28e5cf0
fix linting warnings and add target platform
giancastro Mar 28, 2024
21bc5bc
update build platform
giancastro Mar 28, 2024
68640ff
fix linting warnings
giancastro Mar 28, 2024
bc72e2c
update target platform
giancastro Mar 28, 2024
a05d48a
update target platform
giancastro Mar 28, 2024
e5ea2a0
update target platform
giancastro Mar 28, 2024
b05cee4
update target platform
giancastro Mar 28, 2024
54c403e
add rte-rrtmgp submodule on sources
giancastro Mar 28, 2024
c1a1905
add Robert as a recipe maintainer
giancastro Apr 1, 2024
14dfbc0
Merge branch 'conda-forge:main' into giancastro/add-pyrte_rrtmgp
giancastro Nov 19, 2024
a3805fe
update source versions
giancastro Nov 19, 2024
b17e8f1
update sha256
giancastro Nov 19, 2024
8627971
add license
giancastro Nov 19, 2024
043897d
add xarray to requirements
giancastro Nov 19, 2024
436b24f
update requirements
giancastro Nov 19, 2024
fd643e8
update requirements
giancastro Nov 19, 2024
c404beb
update recipe
giancastro Nov 19, 2024
15656ce
add test data
giancastro Nov 19, 2024
186e60a
add test data
giancastro Nov 19, 2024
c6f6723
update recipe
giancastro Nov 19, 2024
ec419b4
update recipe
giancastro Nov 19, 2024
c904646
update recipe
giancastro Nov 19, 2024
52ffe70
add test data
giancastro Nov 21, 2024
1e4b515
update requirements and remove tests
giancastro Nov 21, 2024
6adedf2
remove unused var
giancastro Nov 21, 2024
b2bdb15
Update recipes/pyrte_rrtmgp/meta.yaml
giancastro Nov 25, 2024
9f0e533
Update recipes/pyrte_rrtmgp/meta.yaml
giancastro Nov 25, 2024
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
29 changes: 29 additions & 0 deletions recipes/pyrte_rrtmgp/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2015-2018, Atmospheric and Environmental Research and Regents of the University of Colorado.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67 changes: 67 additions & 0 deletions recipes/pyrte_rrtmgp/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{% set name = "pyrte_rrtmgp" %}
{% set version = "0.0.6" %}
{% set rte_rrtmgp_version = "1.8" %}

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

source:
- url: https://github.com/earth-system-radiation/pyRTE-RRTMGP/archive/refs/tags/v{{ version }}.tar.gz
sha256: b161ac8b1ddca59eb994eb44ba8aabb9a596f50f24a8fd0886fea8c680e41a29
- url: https://github.com/earth-system-radiation/rte-rrtmgp/archive/refs/tags/v{{ rte_rrtmgp_version }}.tar.gz
fn: rte-rrtmgp-{{ rte_rrtmgp_version }}.tar.gz
sha256: e3830007529a3fb35727683ff990cac7e6792cdee4c9d9b07a55c969a97c95e5
folder: rte-rrtmgp

build:
script: {{ PYTHON }} -m pip install . -vv
number: 0
skip: True # [not linux]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
- {{ stdlib("c") }}
- cmake ==3.26.4
- make

host:
- python
- pip
- scikit-build-core
- pybind11 >=2.10.0
- numpy
- xarray >=2023.5.0
- urllib3
- netcdf4 >=1.5.7

run:
- python
- numpy >=1.21.0
- xarray >=2023.5.0
- urllib3
- netcdf4 >=1.5.7

test:
imports:
- pyrte_rrtmgp
commands:
- pip check
requires:
- pip

about:
home: https://github.com/earth-system-radiation/pyRTE-RRTMGP
summary: A Python interface to the RTE+RRTMGP Fortran software package.
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE.txt
doc_url: https://pyrte-rrtmgp.readthedocs.io/

extra:
recipe-maintainers:
- giancastro
- RobertPincus