woof-nam (import name namgpu)
Copyright 2026 Recast Systems
Licensed under the Apache License, Version 2.0 (LICENSE).

woof-nam is a GPU implementation of the NOAA/NCEP North American Mesoscale model (NMMB core,
nam.v4.2.11). It is not affiliated with or endorsed by NOAA, NCEP or EMC.

==========================================================================
Origins
==========================================================================

| Origin                         | Where in this tree                                  | Terms                         |
|--------------------------------|-----------------------------------------------------|-------------------------------|
| NOAA/NCEP NAM source, ported   | namgpu/kernels/, namgpu/{dynamics,boundary,physics, | US Government work            |
|                                | init,steps}/ (files citing a NAM source path)       | (public domain in the US)     |
| NOAA NAM parm files            | namgpu/parm/ (unmodified)                           | US Government work            |
| AER RRTMG (NCEP's NMMB copy)   | namgpu/kernels/phys_rrtm_lw_*, phys_rrtm_sw_*,      | BSD-3-Clause (AER); NCEP      |
|                                | rrtm_sw_bands.cuh, namgpu/physics/rrtm/,            | modifications US Government   |
|                                | namgpu/data/rrtm_*                                  | work                          |
| ArWen (gpuwm) kernels, reused  | namgpu/third_party/arwen/,                          | Apache-2.0                    |
|                                | namgpu/physics/{myj,jsfc,noah}/                     |                               |
| WRF Noah tables (stand-in)     | namgpu/data/fix/noah/, namgpu/data/noah_tables/     | WRF public-domain statement   |
| Ferrier table                  | namgpu/data/ferrier/ETAMPNEW_DATA.expanded_rain     | NOAA / WRF public domain      |
| Map basemap (Natural Earth,    | namgpu/data/basemap/ (unmodified)                   | Natural Earth: public domain; |
| US Census county boundaries)   |                                                     | Census: US Government work    |
| OPAC aerosol climatology       | namgpu/parm/nam_climaeropac_global.txt (NCEP)       | as redistributed by NOAA      |
| NOAA fix files (radiation)     | namgpu/data/fix/*.txt                               | US Government data            |
| Data fetched at run time       | case inputs, GMTED2010 terrain                      | US Government data;           |
|                                | (not in this repository)                            | public domain                 |
| Data fetched at run time       | --source ifs, ifs-0p25: ECMWF open data             | CC BY 4.0 (ECMWF)             |
|                                | --source era5: ERA5 (Copernicus C3S), read from     | CC BY 4.0 (Copernicus);       |
|                                | Google's public ARCO-ERA5 copy                      | attribution below             |

==========================================================================
NOAA / NCEP NAM
==========================================================================

The port is written from the NAM source (github.com/MatthewPyle-NOAA/NAM @
83df4e13c115d197db67b972cb3befec8511291a, nam.v4.2.11). The NAM source is work of US Government
employees at NOAA/NCEP/EMC (and GFDL) and is distributed by NOAA without a licence file; it is
public domain in the US. Every file ported or copied from a NAM file keeps that file's NOAA
author/history header block, followed by a line naming the source path and lines.

No code from the NEMS framework, ESMF, nemsio, UPP, GSI or NCEPLIBS (LGPL and other terms) is
ported, copied, linked or called. NAM's phys/mersenne_twister.f (LGPL-2) is not copied: the McICA
kernels implement MT19937 from the published algorithm (Matsumoto and Nishimura 1998), and that
path is dormant in the NAM configuration (ISUBCLW = ISUBCSW = 0).

NOAA data used as model inputs (NOAA Open Data Dissemination) is used as distributed. It is not
permissible to state or imply endorsement by or affiliation with NOAA.

ECMWF data fetched at run time is not in this repository. IFS open data (--source ifs, ifs-0p25) is
licensed by ECMWF under CC BY 4.0. ERA5 (--source era5) is licensed under CC BY 4.0 by the Copernicus
Climate Change Service; forecasts started from it carry the attribution "Contains modified Copernicus
Climate Change Service information" (Hersbach, H. et al. 2020, The ERA5 global reanalysis, Q. J. R.
Meteorol. Soc. 146, 1999-2049), which every run receipt records with the start source. Neither the European
Commission nor ECMWF is responsible for any use of that information.

==========================================================================
RRTMG radiation (Atmospheric and Environmental Research, Inc.)
==========================================================================

The longwave and shortwave radiation code and its k-distribution tables are derived from NCEP's
NMMB copy of AER's RRTMG (Mlawer, Iacono, Clough; shortwave data adapted from J. Delamere, AER, and
J.-J. Morcrette, ECMWF). They ship under AER's BSD 3-Clause licence, the licence AER applies to
RRTMG_LW and RRTMG_SW today:

  Copyright (c) 2002-2020, Atmospheric and Environmental Research, Inc. (AER).

Files covered (each carries AER's copyright line and "BSD-3-Clause; see NOTICE" in its header;
tools/licence_check.py holds the exact list):
  - kernels: namgpu/kernels/phys_rrtm_lw_*.cu (26), namgpu/kernels/phys_rrtm_sw_*.cu (25),
    namgpu/kernels/rrtm_sw_bands.cuh;
  - Python wrappers: namgpu/physics/rrtm/phys_rrtm_lw_*.py, namgpu/physics/rrtm/phys_rrtm_sw_*.py,
    namgpu/physics/rrtm/lw_core.py, sw_seam.py, rrtm_lw_ref.py;
  - k-distribution and property tables (data, no header): namgpu/data/rrtm_lw/*.npz,
    namgpu/data/rrtm_sw/*.npz and namgpu/data/rrtm_*.npz, extracted from NAM's radlw_datatb.f,
    radlw_datatb_nmmb.f, radsw_datatb.f and radsw_datatb_nmmb.f.

AER's licence text (github.com/AER-RC/RRTMG_LW and RRTMG_SW, LICENSE.md):

  Copyright (c) 2020, Atmospheric and Environmental Research
  All rights reserved.

  Redistribution and use in source and binary forms, with or without modification, are permitted
  provided that the following conditions are met:
  1. Redistributions of source code must retain the above copyright notice, this list of
     conditions and the following disclaimer.
  2. 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.
  3. 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.

NCEP's NMMB copy (radlw_main_nmmb.f, radsw_main_nmmb.f) carries AER's earlier 2002-2007 notice;
in this package it is replaced by the BSD 3-Clause terms above. NCEP's modifications are US
Government work. The WOOF-NAM port of these files is Apache-2.0.

==========================================================================
ArWen (Python package "gpuwm")
==========================================================================

Files under namgpu/third_party/arwen/, and files that say they were copied or adapted from ArWen:
    Copyright 2026 ArWen contributors
    Licensed under the Apache License, Version 2.0.
Each keeps its original header and names the ArWen path it came from.

==========================================================================
WRF (NCAR/UCAR)
==========================================================================

The Noah land-surface tables (namgpu/data/fix/noah/, namgpu/data/noah_tables/) are from WRF V3.0
and v4.6.1. The NAM's own VEGPARM.TBL was never published; namgpu/data/fix/noah/VEGPARM.TBL is a
stand-in built from WRF's MODIFIED_IGBP_MODIS_NOAH table (namgpu/data/fix/noah/PROVENANCE.txt). UCAR's notice, kept verbatim in
namgpu/data/noah_tables/LICENSE-WRF.txt:

  WRF was developed at the National Center for Atmospheric Research (NCAR) which is operated by
  the University Corporation for Atmospheric Research (UCAR). NCAR and UCAR make no proprietary
  claims, either statutory or otherwise, to this version and release of WRF and consider WRF to be
  in the public domain for use by any person or entity for any purpose without any fee or charge.
  UCAR requests that any WRF user include this notice on any partial or full copies of WRF. WRF is
  provided on an "AS IS" basis and any warranties, either express or implied, including but not
  limited to implied warranties of non-infringement, originality, merchantability and fitness for
  a particular purpose, are disclaimed. In no event shall UCAR be liable for any damages,
  whatsoever, whether direct, indirect, consequential or special, that arise out of or in
  connection with the access, use or performance of WRF, including infringement actions.
  WRF(R) is a registered trademark of the University Corporation for Atmospheric Research (UCAR).

==========================================================================
NOAA data shipped in this package, and data fetched at run time
==========================================================================

- NOAA fix files (CO2 history and monthly cycle, ozone climatology, solar constant, surface
  emissivity index) in namgpu/data/fix/, unmodified copies from the NOAA global fix bucket
  (fix/am/20220805; tools/fetch_fix.sh fetches them again). US Government data.
- Case inputs (NAM native analysis and boundary files, GFS 0.25 degree, MRMS), fetched from NOAA
  Open Data Dissemination by namgpu.init.init_fetch_case. US Government data.
- GMTED2010 terrain (USGS/NGA), read from the user's WPS geog set. Public domain.
- Map basemap in namgpu/data/basemap/: Natural Earth 10m and 110m coastlines, lakes, land, ocean,
  borders and state lines (naturalearthdata.com, public domain) and the US Census Bureau
  cb_2023_us_county_5m county boundaries (US Government work, 17 U.S.C. 105), unmodified copies of
  the gpuwm 2.9.11 renderer bundle's assets/basemap.
- Climatological aerosol table namgpu/parm/nam_climaeropac_global.txt: NCEP format of the OPAC
  climatology, Hess, Koepke and Schult (1998), Bull. Amer. Meteor. Soc. 79, 831-844, as
  redistributed by NOAA in the GFS fix set.
