Releases: cemsbv/pygef
0.8.0-alpha.5
Added
- Support for NEN5104 by @RDWimmers in #294
- Merge figure that combines CPT and BHRgt by @RDWimmers in #294
Fixed
- Update GEF properties:
delivered_location
,standardized_location
,bro_id
&QualityClass
by @RDWimmers in #294 - BroXML resolvers by @RDWimmers in #294
- Use pytest for all tests, omit tests in coverage report by @RDWimmers in #291
- Release CI by @tversteeg
Full Changelog: 0.8.0-alpha.4...0.8.0-alpha.5
0.8.0-alpha.4
What's Changed
- add linting, remove old GEF functions, update docs by @RDWimmers in #290
- drop support for python 3.7 and 3.8
- update CPT and Bore figure
- remove redundant code GEF parser
Full Changelog: 0.8.0-alpha.3...0.8.0-alpha.4
0.8.0-alpha.3
Fixed
- Refactor folder structure to be
src/
-based by @tversteeg - Fix setuptools not packaging subdirectories by @tversteeg
Full Changelog: 0.8.0-alpha.2...0.8.0-alpha.3
0.8.0-alpha.2
0.8.0-alpha
The focus of 0.8.0 release is on addressing technical debt, modernizing our codebase, improving performance, and making it easier to contribute. Furthermore, we added support for BRO XML files for CPT and BHRgt objects.
To support BRO XML and GEF files we designed a DataClass
that holds the information in a standardized format. The names of the properties in the DataClass
as the column names of the DataFrame
are similar to the BRO standaard naming. We also made the decision to freeze the DataClass
as it holds only the parse data of the CPT or Bore file.
Breaking Changes
Instead of importing the Cpt
or Bore
object, you now import the read_cpt
or read_bore
functions:
- from pygef import Cpt
+ from pygef import read_cpt
- gef = Cpt("./my-file.gef")
+ gef = read_cpt("./my-file.gef")
The dataframe can now be accessed using the data
attribute. Please note that we changed the column names of the DataFrame
. The names are now linked to the BRO names:
- print(gef.df.head())
+ print(gef.data.head())
Property names have changed or return a different type, for example:
- gef.x
+ gef.standardized_location.x
- gef.zid
+ gef.delivered_vertical_position_offset
- gef.cpt_class
+ gef.quality_class.name
Plotting has now been moved to its own function in its own module:
- gef.plot()
+ from pygef.plotting import plot_cpt
+
+ plot_cpt(gef)
Fixed
- Allow patch version range in setup requirements by @tlukkezen in #223
- Pin requirements in requirements.txt by @tlukkezen in #224
- Set strict mypy rules by @ritchie46 in #213
- Don't automatically release CI from master by @ritchie46 in #244
- Parse header names and only parse measured columns by @ritchie46 in #254
- GEF file parsing wheel has been moved to separate repo by @tversteeg
Full Changelog: 0.7.4...0.8.0-alpha
What's Changed
- Bump version to 0.7.4 by @tlukkezen in #220
- 222 - Allow patch version range in setup requirements by @tlukkezen in #223
- pin requirements in requirements.txt by @tlukkezen in #224
- Bump polars[pyarrow] from 0.13.59 to 0.13.62 by @dependabot in #228
- chore[bro]: set strict mypy rules by @ritchie46 in #213
- refactor[gef]: lot's of refactoring by @ritchie46 in #235
- tests: move tests to dedicated folder by @ritchie46 in #243
- ci: don't automatically release from master by @ritchie46 in #244
- refactor: init broxml test and strict mypy by @ritchie46 in #245
- refactor: parsing the xml generic by @ritchie46 in #246
- Bump black from 22.6.0 to 22.8.0 by @dependabot in #247
- Bump mypy from 0.961 to 0.971 by @dependabot in #237
- load cpt data by @ritchie46 in #253
- parse header names and only parse measured columns by @ritchie46 in #254
- test all attributes by @ritchie46 in #255
- add a shim for the gef-file parser by @ritchie46 in #260
- make xml-parser generic by @ritchie46 in #262
- parse bore layers by @ritchie46 in #263
- add soil distribution by @ritchie46 in #264
- remove first xml bore parser by @ritchie46 in #265
- add basic cpt plotting by @ritchie46 in #270
- update readme by @ritchie46 in #271
Full Changelog: 0.7.4...0.8.0-alpha
What's Changed
- Bump version to 0.7.4 by @tlukkezen in #220
- 222 - Allow patch version range in setup requirements by @tlukkezen in #223
- pin requirements in requirements.txt by @tlukkezen in #224
- Bump polars[pyarrow] from 0.13.59 to 0.13.62 by @dependabot in #228
- chore[bro]: set strict mypy rules by @ritchie46 in #213
- refactor[gef]: lot's of refactoring by @ritchie46 in #235
- tests: move tests to dedicated folder by @ritchie46 in #243
- ci: don't automatically release from master by @ritchie46 in #244
- refactor: init broxml test and strict mypy by @ritchie46 in #245
- refactor: parsing the xml generic by @ritchie46 in #246
- Bump black from 22.6.0 to 22.8.0 by @dependabot in #247
- Bump mypy from 0.961 to 0.971 by @dependabot in #237
- load cpt data by @ritchie46 in #253
- parse header names and only parse measured columns by @ritchie46 in #254
- test all attributes by @ritchie46 in #255
- add a shim for the gef-file parser by @ritchie46 in #260
- make xml-parser generic by @ritchie46 in #262
- parse bore layers by @ritchie46 in #263
- add soil distribution by @ritchie46 in #264
- remove first xml bore parser by @ritchie46 in #265
- add basic cpt plotting by @ritchie46 in #270
- update readme by @ritchie46 in #271
Full Changelog: 0.7.4...0.8.0-alpha
0.7.4
Fixed
- Update polars by @ritchie46 in #203 and #211
- Fix cpt data parsing separator issues by @tlukkezen in #218
- Handle columnvoid headers by @tlukkezen in #219
Full Changelog: 0.7.3...0.7.4
0.7.3
0.7.2
Fixed
- Wrong polars series passed to matplotlib by @RDWimmers in #158
New Contributors
- @RDWimmers made their first contribution in #158
Full Changelog: 0.7.1...0.7.2
0.7.1
Removed
- Grouping mechanism by @tversteeg in #134
xmlschema
in favor oflxml
by @martinapippi in #141
Fixed
- Less strict
xyid
regex by @breinbaas in #138
New Contributors
- @breinbaas made their first contribution in #138
Full Changelog: 0.6.3...0.7.1
0.7.0
Breaking Change
- Removed the grouping mechanism, use CEMS gef-model for a better grouping mechanism instead (contact us for access)
Removed
do_grouping
&min_thickness
arguments inCpt
pygef.grouping
module