Releases: adamancer/pyncei
Releases · adamancer/pyncei
v1.0
Added
- Added
NCEIResponse
class to handle responses from the API and output results to csv or a pandas DataFrame - Added tests
Changed
- Renamed
NCEIReader
toNCEIBot
- Renamed method kwargs to match names used by NCEI
- Query parameters are no longer validated locally by default. Set the validate_params` attribute to True to re-enable this behavior.
- Added url and retrieval date and time to data returned by the various get methods
- Users can now specify the path to a cache file when creating an
NCEIBot
object - Info and debug messages now use the logging module instead of print
- Revised project documentation
Removed
- Removed convenience get methods (for example,
get_dataset()
) that returned data for a single entity. Pass an id argument to the get functions (for example,get_datasets()
) to achieve the same result. - Removed count kwarg from get methods. Use the
count()
method on an NCEIResponse instead to get a count of records returned so far. Use thetotal()
method to get a count of the total number of records available for the current query. - Removed
find_in_endpoint()
,find_all()
, andmap_name()
methods. Thefind_ids()
method replaces all three methods.