Skip to content

Releases: USEPA/esupy

v0.4.0

04 Dec 21:45
Compare
Choose a tag to compare

What's Changed

  • Adds functions to generate location objects (#54)
  • Resolves #55
  • Resolves #56
  • drops requests_ftp as requirements which is deprecated

Full Changelog: v0.3.3...v0.4.0

v0.3.3

08 May 20:12
e6f27d4
Compare
Choose a tag to compare

What's Changed

  • adds parsing of bibtex files to olca-schema Source objects in #51

Full Changelog: v0.3.2...v0.3.3

v0.3.2

08 Dec 23:48
6249841
Compare
Choose a tag to compare

What's Changed

  • option for user to include a specific version and/or hash in file name when downloading data commons files in download_from_remote()
  • add kwargs to make_url_request() to enable verify for requests
  • add url_is_alive() from stewi

Full Changelog: v0.3.1...v0.3.2

v0.3.1

11 Sep 20:37
56605f9
Compare
Choose a tag to compare

What's Changed

  • Resolves HTTP 403 Error from EPA websites

Full Changelog: v0.3.0...v0.3.1

v0.3.0

16 Jun 18:26
519ad73
Compare
Choose a tag to compare

What's Changed

  • Refactor with pathlib in #46
  • ✅ Add test for python 3.11
  • Bump geospatial packages to shapely v2.0.1 and geopandas v0.13.2
  • Deprecates create_paths_if_missing() in favor of mkdir_if_missing()

Full Changelog: v0.2.2...v0.3.0

v0.2.2

09 Jun 14:20
Compare
Choose a tag to compare

Bump setup.py to correct version

Full Changelog: v0.2.1...v0.2.2

v0.2.1

11 May 14:02
60a7d9c
Compare
Choose a tag to compare

What's Changed

  • tweaked error handling in make_url_request by @matthewlchambers in #35
  • improve url request error handling and retry request up to 3 times by @bl-young in #36
  • ✅ add test of data commons access by @bl-young in #39
  • update data commons access by @bl-young in #41
  • use boto3 to access objects data from data commons to avoid #38 by @bl-young in #40
  • improve error handling and retry request by @bl-young in #42
  • allow use of 'designated_mapping_file' for flow mapping by @catherinebirney in #43
  • support for material crosswalk mapping files, consolidation of functions for UUID (to support fedelemflowlist v1.1) by @bl-young in #44
  • update data commons url to new S3 bucket by @catherinebirney in #45

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 May 20:25
3af887b
Compare
Choose a tag to compare

What's Changed

  • Adds optional geospatial packages for assessing urban or rural population density for point sources in context_secondary.py
  • new function classify_height() to assign secondary compartment based on emission release height (#33)
  • refactors find_file() (#22)
  • adds .rds as possible extension for read_into_df()
  • adds integration testing via github action

Bugs Squashed

  • address zero division error in get_weighted_average() (#28)
  • define the directory path from which to base generating a git hash (#31)
  • Gdrive confirm now requires only a fixed parameter (#32)

New Contributors

Full Changelog: v0.1.8...v0.2.0

v0.1.7

18 Aug 20:03
c04efa5
Compare
Choose a tag to compare
  • Incorporate option of specifying where files downloaded from Data Commons are stored locally
  • When downloading files from Data Commons, all files that share the most recent git hash/version are downloaded. This change allows for json, log files, and any future file types to be downloaded at the same time as the target file

v0.1.6

17 Aug 20:21
Compare
Choose a tag to compare

Enable common mapping function apply_flow_mapping for fedelemflowlist and materialflowlist

Fix potential errors in downloading data from data commons