Skip to main content

pytdlpack

Build Status Python 3.6 Python 3.7 Python 3.8 Python 3.9 Python 3.10 PyPI version

Introduction

NOAA/NWS Meteorological Development Lab (MDL) produces model output statistics (MOS) for a variety of NOAA/NCEP Numerical Weather Prediction (NWP) models. MOS is produced via MDL's in-house MOS-2000 (MOS2K) Fortran-based software system. MOS2K uses a GRIB-like binary data format called TDLPACK. pytdlpack is a Python interface to reading and writing TDLPACK files. A brief introduction to TDLPACK files and data format can be found here.

Motivation

Provide a Python interface for reading and writing TDLPACK files.

Requirements

  • Python 3.6+
  • setuptools 34.0+
  • NumPy 1.12+
  • GNU or Intel Fortran compiler

Installation

pip3 install pytdlpack

Build and Install from Source

python3 setup.py build_ext --fcompiler=[gnu95|intelem] build
python3 setup.py install [--user |--prefix=PREFIX]

Modules

The pytdlpack package contains 2 modules. See the docstrings for usage of each module

pytdlpack

import pytdlpack

TdlpackIO

import TdlpackIO

IMPORTANT: TdlpackIO is experimental and it usage and functionality could change with future releases. TdlpackIO is a pure python implementation for reading TDLPACK "sequential" files (i.e. Fortran variable-length record binary files). Currently, it does not read TDLPACK random-access files and it may never have that capability. It requires pytdlpack for unpacking records.

Metadata

Release files for pytdlpack 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytdlpack 1.0.7
File Size Uploaded
pytdlpack-1.0.7.tar.gz 46.3 MB Details

Release files / pytdlpack-1.0.7.tar.gz

Download URL pytdlpack-1.0.7.tar.gz
Size 46.3 MB
Tags Source
SHA-256 checksum
How to use checksums
281e374a6e66ffd673a9275e0ef275fdd298381e6d1f13cb03488bdc38e3dee4
BLAKE2b-256 checksum
How to use checksums
9583bd8bbb1310c61221216fdec62ce87477af3eb386db5ed618f99d04d07a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page