Releases: NOAA-MDL/tdlpackio
pytdlpack release 1.1.0
What's Changed
- xarray backend for reading tdlpack files by @AdamSchnapp in #9
- extra check to ensure variable is well formed by @AdamSchnapp in #10
Full Changelog: v1.0.7...v1.1.0
pytdlpack release 1.0.7
Bug Fixes
- Fixed an issue in
setup.py
that when building with Intel compilers, was causing pytdlack to incorrectly read TDLPACK random-access files.
pytdlpack release 1.0.6
Enhancements
- Updated
TdlpackIO
module to read more bytes from the record on file in order to get grid dimension information and store it in the index.
Bug Fixes
-
Fixed issue where
TdlpackRecord
objects with a very small number of stations would cause a memory overflow in the Fortranunpack
subroutine. -
Fixed issue where some unique values were missing from the
TdlpackIO.open
dates
orleadtimes
instance variables. -
Fixed issue with
TdlpackFile
whereeof
was not being set toFalse
on file rewind. -
Fixed issue where
number_of_stations
instance variable would not be present forTdlpackStationRecord
objects when reading using theTdlpackIO
module.
pytdlpack release 1.0.5
Bug Fixes
- Fixed issue when instantiating
TdlpackRecord
object from new data (i.e. not from file) would cause an error when trying to pack and write. - Added try/except block when setting projstring using
Proj.definition_string()
method. This seems to be a fairly new method to the Proj object.
pytdlpack release 1.0.4
No major changes to Python source code with this release. This release cleans up most of the project, including documentation, issue templates, and setup.py build and install process. This is the first release of pytdlpack to be hosted on PyPI!
pip3 install pytdlpack
setup.py has been modified such that the default Fortran compiler flags used to build tdlpack are set to GNU Fortran, however one can also build and install using Intel Fortran Compiler.
pytdlpack release 1.0.3
Changes:
pytdlpack:
- Fixed issue #8 where setting an array size would lead to a TypeError.
- Some cosmetic changes -- code/documentation cleanup
TdlpackIO:
- No changes with this release
DISCLAIMER: TdlpackIO, is an experimental module. It is a pure-Python implementation for fast, random access-like reading of TDLPACK sequential files. With TdlpackIO, no Fortran code is called for reading. This module is a work in progress. Please do not use it to perform critical work and its implementation and usage could change with future releases.
pytdlpack release 1.0.2
Changes:
pytdlpack:
- Fixed issue where a modified plain language string would not get packed into a new TDLPACK record.
TdlpackIO:
- Added ability to pass multiple dates and lead times (using list syntax) to the Tdlpack.open.fetch() method.
DISCLAIMER: TdlpackIO, is an experimental module. It is a pure-Python implementation for fast, random access-like reading of TDLPACK sequential files. With TdlpackIO, no Fortran code is called for reading. This module is a work in progress. Please do not use it to perform critical work and its usage could change with future releases.
pytdlpack release 1.0.1
Changes:
pytdlpack:
- Added another condition when determining TDLPACK data type.
TdlpackIO:
- Added dates and leadtimes attributes to TdlpackIO.open class. These attributes are tuples of uniques dates (YYYYMMDDHH format) and lead times found in the TDLPACK file.
- Updated logic to determine lead time from the MOS-2000 ID when indexing the file.
DISCLAIMER: TdlpackIO, is an experimental module. It is a pure-Python implementation for fast, random access-like reading of TDLPACK sequential files. With TdlpackIO, no Fortran code is called for reading. This module is a work in progress. Please do not use it to perform critical work and its usage could change with future releases.
pytdlpack release 1.0.0
Finally, version 1.0.0 release for pytdlpack is here!
Pytdlpack is a Python interface to existing MOS-2000 TDLPACK read, writing, packing, and unpacking Fortran subroutines. The necessary Fortran subroutines are included with pytdlpack and are compiled into a shared-object library using NumPy's f2py.
Main features:
- Read/Write TDLPACK sequential and random-access files.
- Perform packing and unpacking of TDLPACK data and station call letter records.
- Create TDLPACK station call letter records and data records from scratch.
IMPORTANT: The pytdlpack package includes an experimental module, TdlpackIO, which is a pure-Python implementation for fast, random access-like reading of TDLPACK sequential files. With TdlpackIO, no Fortran code is called for reading This module is a work in progress. Please do not use it to perform critical work and its usage could change with future releases.
pytdlpack release 0.9.0
Initial release for pytdlack.