Releases: ARPA-SIMC/dballe
Releases · ARPA-SIMC/dballe
v9.1
New in version 9.1
- Implemented new query modifier
query=last
(#80) - Fixed a DeprecationWarning when querying latitude/longitude with Decimal values (#264)
- Open/create a Xapian explorer only when needed, fixing locking issues on
concurrent access (#262) - Added
ilat
eilon
(integer lat/lon) forStation
objects (#247) - Added examples for messages import/export (#255)
- Removed dependency on nose (#268)
- Added Turbidity and ORP variables (#267)
v9.0
New in version 9.0
C++ API changes:
- C++ API changed:
CursorMessage::get_message
has been unified with
CursorMessage::detach_message
and now returns astd::shared_ptr<Message>
.
CursorMessage::detach_message
has been removed. (#171) - C++ API changed: it now uses
std::shared_ptr
instead ofstd::unique_ptr
to return and refer to cursors. (#171) - C++ API changed: dballe::Message now inherits
std::shared_from_this
and
should always be used asstd::shared_ptr
(#171) - C++ API changed: dballe::Cursor now inherits
std::shared_from_this
and
should always be used asstd::shared_ptr
(#171) - Now a cursor for a dballe transaction is invalidated when the transaction
commits/rolls back. This avoids the need for a context manager to handle the
cursor lifetime in the Python API (#171)
v8.20
New in version 8.20
- Added UV index variable
- Fixed B13211 length (#239)
- Added variables 025194 011211 011212 011213 011214 011215 011216
- Added
dbadb import --domain-errors={unset|clamp|tag}
.tag
is only
available when compiling with wreport from version 3.29. (#241) - Added Lifted, virtual T and Skin Temperature variables
- Added support for python 3.9 in nose2 tests
- Dropped support for nose1
- Added
dbadb import --domain-errors={unset|clamp}
.clamp
is only available
when compiling with wreport from version 3.28. (#241) - Fixed querying by datetime extremes in explorer (#242)
- Added alternative meson build system
v8.13
New in version 8.13
- Always ignore stations without contexts (#235)
- Improved documentation
- Use BUFR unit in documentation (#222)
- dballe.Message.query_data() error when the BUFR has only station data (#213)
- Fixed bugs in Explorer (#217, #218, #228)
- attr_filter supports != operator (#224)
- Fixed JSON datetime parser (#230)
- Fixed segmentation fault querying min and max datetimes in dballe.CursorSummarySummary (#232)
v8.11
v8.9
New in version 8.9
- Worked around an internal compiler error on Centos7
- Made Xapian support really optional
- Added
dballe.Explorer
examples to python HOWTO (#181) - Creating an Explorer with a pathname makes it load/save from that file, which
can be a JSON file if it ends with.json
or no Xapian support is compiled
in, otherwise Explorer will persist using an indexed Xapian database. - Undo breaking changes to stable API on importers/exporters
v8.7
New in version 8.7
- Fixed the command line documentation of possible input types (#202)
- Restructured and tested documentation (#204, #205, #206)
- JSON is now supported for encoding/decoding wherever BUFR and CREX are (#202)
- Improved python API documentation (#187, #189, #191)
- Improved documentation of dballe types (#199)
- Turned a segfault into a proper exception (#197)
- Parse again '-' as missing (#200)
- Fixed passing strings as datetime values from python (#174)
v8.4
New in version 8.4
- Redesigned and unified all the documentation (https://arpa-simc.github.io/dballe/)
- B table updates
- Python API: allow other C python extensions to access dballe python objects
- Allow querying from python without specifying all the datetime min/max values
- Fixed querying longitude ranges from python
- Fixed reading unset query results from python
- Python API: fixed
Message.query_station_data
method
v8.1
New in version 8
- Added
NEWS.md
file - Rationalised keyword usage in Fortran API. See Input/Output query parameters
documentation for the updated reference. - Added Message, Importer, Exporter, File, DB, Transaction, Cursor*, Data,
Values to the C++ stable API - Dropped support for Python 2
- Dropped support for unused AOF format
- Renamed fortran API functions with self-explanatory English names. The old
names are kept as aliases for compatibility with existing/old Fortran code - Implemented
dbadb --varlist
- Python API changes:
- Added dballe.Message
- Added dballe.Importer
- Added dballe.Exporter
- Added dballe.File
- Added dballe.Explorer
- Removed dballe.Record in favour of using dict() for input, and using
Cursor*.__getitem__
for output. - Renamed
Cursor*.attr_query
toCursor*.query_attrs
- Added
Cursor*.insert_attrs
- Added
Cursor*.remove_attrs
- Added
Cursor*.remove()
- Added
DB.query_messages
- DB or Transaction:
.query_*
: query argument is now optional, omit it to
query everything - Added
Cursor.query
andCursor.data
- Allow to pass a
Cursor
instead of adict
toinsert_data
and
insert_station_data
, to efficiently copy data between databases. - Deprecated
DB.insert_station_data
,DB.insert_data
,
DB.remove_station_data
,DB.remove_data
,DB.query_stations
,
DB.query_station_data
,DB.query_data
,DB.query_summary
,
DB.query_messages
,DB.attr_query_station
,DB.attr_query_data
,
DB.attr_insert_station
,DB.attr_insert_data
,DB.attr_remove_station
,
DB.attr_remove_data
.
Use the same methods indballe.Transaction
instead.
- The use of
?wipe
is now documented and supported
in C++, Python, Fortran, and command line. The value ofwipe
is now parsed
to prevent unexpectedly clearing a database when using something like
?wipe=no
.