# Source attribution

## Project

- **Identifier:** `moonbit-cf-ocean`
- **Repository:** `https://github.com/hrwqe/moonbit-cf-ocean`
- **Implementation language:** MoonBit
- **License:** Apache-2.0; see [LICENSE](LICENSE)

The source under `src/` is implemented for this repository in MoonBit. The
project does not vendor third-party source code, C/C++ libraries, or FFI
bindings. Runtime behavior is provided by the MoonBit packages declared in the
repository module.

## Standards and reference material

- NetCDF binary layout handling follows the public [NetCDF User Guide](https://docs.unidata.ucar.edu/netcdf/NUG/netcdf_introduction.html),
  including the Classic (CDF-1) and 64-bit Offset (CDF-2) formats.
- Metadata names and attributes are organized around the [CF Conventions](https://cfconventions.org/conventions.html),
  with the oceanographic standard names used by the project tests.
- Seawater density and sound-speed approximations are informed by Fofonoff and
  Millard, *Algorithms for the computation of fundamental properties of
  seawater* (UNESCO Technical Papers in Marine Science 44, 1983); the public
  bibliographic record and document are available from [OceanBestPractices](https://legacy.repository.oceanbestpractices.org/handle/11329/109).
- The full [TEOS-10](https://www.teos-10.org/index.htm) and [GSW reference](https://teos-10.org/pubs/gsw/html/)
  define the higher-precision thermodynamic standard. This project documents
  and tests bounded approximations instead of claiming to implement GSW.

The `pkg.generated.mbti` files are generated public-interface snapshots from
the MoonBit toolchain; they contain no third-party source code.

These references define formats or scientific formulas; they are not copied
source files. Their names are retained so users can audit the corresponding
implementation and tests.
