Skip to main content

Python interface for reading and writing TDLPACK data

Project description

tdlpackio

License: MIT

Python 3.10 Python 3.11 Python 3.12 Python 3.13 Python 3.14

Build Linux Build macOS

PyPI PyPI - Downloads

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Introduction

tdlpackio provides a Python interface for reading and writing TDLPACK files. The NOAA/NWS Meteorological Development Lab (MDL) produces Model Output Statistics (MOS) and the National Blend of Models (NBM). These products are generated from the MDL's in-house MOS-2000 Software System (MOS2K). The MOS2K system defines a GRIB-like data format called TDLPACK. A brief introduction to TDLPACK files and data format can be found here. tdlpackio provides a Cython extension module, tdlpacklib, which provides an interface to libtdlpack, a Fortran-based library containing a subset of MOS2K subroutines.

Requirements

  • Python 3.10, 3.11, 3.12, 3.13, 3.14
  • libtdlpack 1.0.0+
  • setuptools
  • cython 3.0+
  • numpy 1.26+
  • pyproj 1.9.6+
  • C compiler: GNU, Intel, and Apple Clang have been tested.

Required External Libraries

libtdlpack

The libtdlpack library is required for tdlpackio. You will have to build and install this yourself, but this is not difficult. For macOS users, libtdlpack can be installed via this Homebrew Tap. If you use the *conda ecosystems, then you can install via conda install -c conda-forge libtdlpack.

Install

Once again, this assumes that libtdlpack has been installed. If libtdlpack has been installed into a "common" installation path, then it will be found, otherwise define environment variable TDLPACK_DIR with the installation path.

  • From PyPI via pip:
pip install tdlpackio
conda install -c conda-forge tdlpackio
  • From source:
pip install .

Development

The development evolution of tdlpackio will mainly focus on how best to serve that purpose and its primary user's -- mainly meteorologists, physical scientists, and software developers supporting the missions within NOAA's National Weather Service (NWS) and National Centers for Environmental Prediction (NCEP), and other NOAA organizations.

Disclaimer

This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an 'as is' basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdlpackio-2.0.0b1.tar.gz (112.2 kB view details)

Uploaded Source

File details

Details for the file tdlpackio-2.0.0b1.tar.gz.

File metadata

  • Download URL: tdlpackio-2.0.0b1.tar.gz
  • Upload date:
  • Size: 112.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tdlpackio-2.0.0b1.tar.gz
Algorithm Hash digest
SHA256 24c96a2344d438ac0863341e5e29fe010a78a92936fea717f780fd1fcea4b9a7
MD5 0ad8dba14070ecdc27f6d74263670914
BLAKE2b-256 78616c8783c193aadaf3005e2c605b8f72fe0988284964fa03643875819e5bf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page