Skip to main content

Python interface for reading and writing TDLPACK data

Project description

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.

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

pytdlpack-1.0.7.tar.gz (46.3 MB view details)

Uploaded Source

File details

Details for the file pytdlpack-1.0.7.tar.gz.

File metadata

  • Download URL: pytdlpack-1.0.7.tar.gz
  • Upload date:
  • Size: 46.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pytdlpack-1.0.7.tar.gz
Algorithm Hash digest
SHA256 281e374a6e66ffd673a9275e0ef275fdd298381e6d1f13cb03488bdc38e3dee4
MD5 fa04284fdb39960f4a72df302dd02a5a
BLAKE2b-256 9583bd8bbb1310c61221216fdec62ce87477af3eb386db5ed618f99d04d07a5d

See more details on using hashes here.

Supported by

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