Recent Releases of pygef
pygef - 0.11.1
This release contains only dependency updates.
What's Changed
- chore(deps): bump executing from 2.0.1 to 2.1.0 by @dependabot in https://github.com/cemsbv/pygef/pull/386
- chore(deps): bump pytest from 8.3.2 to 8.3.3 by @dependabot in https://github.com/cemsbv/pygef/pull/390
- chore(deps): bump contourpy from 1.2.1 to 1.3.0 by @dependabot in https://github.com/cemsbv/pygef/pull/389
- chore(deps): bump kiwisolver from 1.4.5 to 1.4.7 by @dependabot in https://github.com/cemsbv/pygef/pull/388
- chore(deps): bump contextily from 1.6.1 to 1.6.2 by @dependabot in https://github.com/cemsbv/pygef/pull/391
- chore(deps): bump urllib3 from 2.2.2 to 2.2.3 by @dependabot in https://github.com/cemsbv/pygef/pull/392
- chore(deps): bump black from 24.4.2 to 24.8.0 by @dependabot in https://github.com/cemsbv/pygef/pull/393
- chore(deps): bump coverage[toml] from 7.6.1 to 7.6.4 by @dependabot in https://github.com/cemsbv/pygef/pull/395
- chore(deps): bump ipython from 8.26.0 to 8.29.0 by @dependabot in https://github.com/cemsbv/pygef/pull/396
- chore(deps): bump numpy from 2.1.0 to 2.1.2 by @dependabot in https://github.com/cemsbv/pygef/pull/397
- fix(deps): update all dependencies by @tversteeg in https://github.com/cemsbv/pygef/pull/405
Full Changelog: https://github.com/cemsbv/pygef/compare/0.11.0...0.11.1
Natural Resources - Soil and Land
- Python
Published by tversteeg 19 days ago

pygef - 0.11.0
What's Changed
- Remove cpt-class validation by @tlukkezen in https://github.com/cemsbv/pygef/pull/385
Full Changelog: https://github.com/cemsbv/pygef/compare/0.10.2...0.11.0
Natural Resources - Soil and Land
- Python
Published by tlukkezen 7 months ago

pygef - 0.10.2
What's Changed
- Update dependecies by @RDWimmers in https://github.com/cemsbv/pygef/pull/374
- chore(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in https://github.com/cemsbv/pygef/pull/369
- chore(deps): bump actions/setup-python from 4 to 5 by @dependabot in https://github.com/cemsbv/pygef/pull/370
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/cemsbv/pygef/pull/364
- chore(deps): drop pyarrow dependency; resolve #83 by @RDWimmers in https://github.com/cemsbv/pygef/pull/375
Full Changelog: https://github.com/cemsbv/pygef/compare/0.10.1...0.10.2
Natural Resources - Soil and Land
- Python
Published by RDWimmers 8 months ago

pygef - 0.10.1
Full Changelog: https://github.com/cemsbv/pygef/compare/0.10.0...0.10.1
Natural Resources - Soil and Land
- Python
Published by tversteeg over 1 year ago

pygef - 0.10.0
What's Changed
- fix!: make sure that penetrationLength is positive by @RDWimmers in https://github.com/cemsbv/pygef/pull/357
- chore!: update xpath and add exception by @RDWimmers in https://github.com/cemsbv/pygef/pull/358
Full Changelog: https://github.com/cemsbv/pygef/compare/0.9.0...0.10.0
Natural Resources - Soil and Land
- Python
Published by RDWimmers over 1 year ago

pygef - 0.9.0
What's Changed
- fix: resolve #354 update xpath by @RDWimmers in https://github.com/cemsbv/pygef/pull/356
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.4...0.9.0
Natural Resources - Soil and Land
- Python
Published by RDWimmers over 1 year ago

pygef - 0.8.4
What's Changed
- feat: add class zero to QualityClass by @RDWimmers in https://github.com/cemsbv/pygef/pull/355
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.3...0.8.4
Natural Resources - Soil and Land
- Python
Published by RDWimmers over 1 year ago

pygef - 0.8.3
What's Changed
- chore: update typing offset_to_depth and depth_to_offset by @RDWimmers in https://github.com/cemsbv/pygef/pull/339
- chore: add datetime from gef to shim by @RDWimmers in https://github.com/cemsbv/pygef/pull/352
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.2...0.8.3
Natural Resources - Soil and Land
- Python
Published by RDWimmers over 1 year ago

pygef - 0.8.2
This release mainly fixes a bug encountered with type inferring of Polars DataFrames. Moreover, we've started running all our CI test jobs on three python versions: 3.9, 3.10 & 3.11.
Fixed
- Overwrite dtypes to Float64 by @RDWimmers in https://github.com/cemsbv/pygef/pull/330
- Add python version matrix in test job by @RDWimmers in https://github.com/cemsbv/pygef/pull/331
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.1...0.8.2
Natural Resources - Soil and Land
- Python
Published by tlukkezen almost 2 years ago

pygef - 0.8.1
With this release, we set strict upper-bounds to the dependencies specifications. This resolves some issues we had with breaking changes in sub-dependencies. Furthermore, we updated the default major ticker to 0.5 meter and sort the table by depth.
We recommend everyone to use the new version.
Fixed
- Add upper-bounds to dependency specifications by @tlukkezen in https://github.com/cemsbv/pygef/pull/304
- Update plotting by @RDWimmers in https://github.com/cemsbv/pygef/pull/309
- Use separator in
polars.read_csv
by @RDWimmers in https://github.com/cemsbv/pygef/pull/310
Added
- Set the locator of the major ticker by @RDWimmers in https://github.com/cemsbv/pygef/pull/311
- Sort dataframe by @RDWimmers in https://github.com/cemsbv/pygef/pull/307
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.0...0.8.1
Natural Resources - Soil and Land
- Python
Published by RDWimmers almost 2 years ago

pygef - 0.8.0
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.
We believe that the chances we made resulted in more stable codebase as well an easier maintainability.
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
- gef.height_system
+ gef.delivered_vertical_position_datum.name
- gef.type_of_cone_penetration_test
+ gef.cpt_type
- gef.test_id
+ gef.alias
- gef.end_depth_of_penetration_test
+ gef.final_depth
Plotting has now been moved to its own function in its own module:
- gef.plot()
+ from pygef.plotting import plot_cpt
+
+ plot_cpt(gef)
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.4...0.8.0
What's Changed
- Bump version to 0.7.4 by @tlukkezen in https://github.com/cemsbv/pygef/pull/220
- 222 - Allow patch version range in setup requirements by @tlukkezen in https://github.com/cemsbv/pygef/pull/223
- pin requirements in requirements.txt by @tlukkezen in https://github.com/cemsbv/pygef/pull/224
- Bump polars[pyarrow] from 0.13.59 to 0.13.62 by @dependabot in https://github.com/cemsbv/pygef/pull/228
- chore[bro]: set strict mypy rules by @ritchie46 in https://github.com/cemsbv/pygef/pull/213
- refactor[gef]: lot's of refactoring by @ritchie46 in https://github.com/cemsbv/pygef/pull/235
- tests: move tests to dedicated folder by @ritchie46 in https://github.com/cemsbv/pygef/pull/243
- ci: don't automatically release from master by @ritchie46 in https://github.com/cemsbv/pygef/pull/244
- refactor: init broxml test and strict mypy by @ritchie46 in https://github.com/cemsbv/pygef/pull/245
- refactor: parsing the xml generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/246
- Bump black from 22.6.0 to 22.8.0 by @dependabot in https://github.com/cemsbv/pygef/pull/247
- Bump mypy from 0.961 to 0.971 by @dependabot in https://github.com/cemsbv/pygef/pull/237
- load cpt data by @ritchie46 in https://github.com/cemsbv/pygef/pull/253
- parse header names and only parse measured columns by @ritchie46 in https://github.com/cemsbv/pygef/pull/254
- test all attributes by @ritchie46 in https://github.com/cemsbv/pygef/pull/255
- add a shim for the gef-file parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/260
- make xml-parser generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/262
- parse bore layers by @ritchie46 in https://github.com/cemsbv/pygef/pull/263
- add soil distribution by @ritchie46 in https://github.com/cemsbv/pygef/pull/264
- remove first xml bore parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/265
- add basic cpt plotting by @ritchie46 in https://github.com/cemsbv/pygef/pull/270
- update readme by @ritchie46 in https://github.com/cemsbv/pygef/pull/271
- chore: add linting, rm old GEF functions, update docs by @RDWimmers in https://github.com/cemsbv/pygef/pull/290
- Bump ipython from 7.34.0 to 8.11.0 by @dependabot in https://github.com/cemsbv/pygef/pull/288
- Bump matplotlib from 3.5.2 to 3.7.0 by @dependabot in https://github.com/cemsbv/pygef/pull/286
- chore(pytest): use pytest for all test, omit tests in cov report by @RDWimmers in https://github.com/cemsbv/pygef/pull/291
- feat: support for NEN5104, update GEF properties by @RDWimmers in https://github.com/cemsbv/pygef/pull/294
- fix(ci): trigger release on every tag by @tversteeg in https://github.com/cemsbv/pygef/pull/293
- doc: add attributes to docstring by @RDWimmers in https://github.com/cemsbv/pygef/pull/295
- feat: add groundwater level property to cpt by @RDWimmers in https://github.com/cemsbv/pygef/pull/296
- fix(naming): standardize casing by @RDWimmers in https://github.com/cemsbv/pygef/pull/297
- fix(parsing): provide parsing engine by @RDWimmers in https://github.com/cemsbv/pygef/pull/298
- feat: update soil distribution by @RDWimmers in https://github.com/cemsbv/pygef/pull/300
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.4...0.8.0
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 0.8.0-alpha.5
Added
- Support for NEN5104 by @RDWimmers in https://github.com/cemsbv/pygef/pull/294
- Merge figure that combines CPT and BHRgt by @RDWimmers in https://github.com/cemsbv/pygef/pull/294
Fixed
- Update GEF properties:
delivered_location
,standardized_location
,bro_id
&QualityClass
by @RDWimmers in https://github.com/cemsbv/pygef/pull/294 - BroXML resolvers by @RDWimmers in https://github.com/cemsbv/pygef/pull/294
- Use pytest for all tests, omit tests in coverage report by @RDWimmers in https://github.com/cemsbv/pygef/pull/291
- Release CI by @tversteeg
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.0-alpha.4...0.8.0-alpha.5
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 0.8.0-alpha.4
What's Changed
- add linting, remove old GEF functions, update docs by @RDWimmers in https://github.com/cemsbv/pygef/pull/290
- drop support for python 3.7 and 3.8
- update CPT and Bore figure
- remove redundant code GEF parser
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.0-alpha.3...0.8.0-alpha.4
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 0.8.0-alpha.3
Fixed
- Refactor folder structure to be
src/
-based by @tversteeg - Fix setuptools not packaging subdirectories by @tversteeg
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.0-alpha.2...0.8.0-alpha.3
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 0.8.0-alpha.2
Fixed
- Build not packaging required files by @tversteeg
Full Changelog: https://github.com/cemsbv/pygef/compare/0.8.0-alpha...0.8.0-alpha.2
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 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 https://github.com/cemsbv/pygef/pull/223
- Pin requirements in requirements.txt by @tlukkezen in https://github.com/cemsbv/pygef/pull/224
- Set strict mypy rules by @ritchie46 in https://github.com/cemsbv/pygef/pull/213
- Don't automatically release CI from master by @ritchie46 in https://github.com/cemsbv/pygef/pull/244
- Parse header names and only parse measured columns by @ritchie46 in https://github.com/cemsbv/pygef/pull/254
- GEF file parsing wheel has been moved to separate repo by @tversteeg
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.4...0.8.0-alpha
What's Changed
- Bump version to 0.7.4 by @tlukkezen in https://github.com/cemsbv/pygef/pull/220
- 222 - Allow patch version range in setup requirements by @tlukkezen in https://github.com/cemsbv/pygef/pull/223
- pin requirements in requirements.txt by @tlukkezen in https://github.com/cemsbv/pygef/pull/224
- Bump polars[pyarrow] from 0.13.59 to 0.13.62 by @dependabot in https://github.com/cemsbv/pygef/pull/228
- chore[bro]: set strict mypy rules by @ritchie46 in https://github.com/cemsbv/pygef/pull/213
- refactor[gef]: lot's of refactoring by @ritchie46 in https://github.com/cemsbv/pygef/pull/235
- tests: move tests to dedicated folder by @ritchie46 in https://github.com/cemsbv/pygef/pull/243
- ci: don't automatically release from master by @ritchie46 in https://github.com/cemsbv/pygef/pull/244
- refactor: init broxml test and strict mypy by @ritchie46 in https://github.com/cemsbv/pygef/pull/245
- refactor: parsing the xml generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/246
- Bump black from 22.6.0 to 22.8.0 by @dependabot in https://github.com/cemsbv/pygef/pull/247
- Bump mypy from 0.961 to 0.971 by @dependabot in https://github.com/cemsbv/pygef/pull/237
- load cpt data by @ritchie46 in https://github.com/cemsbv/pygef/pull/253
- parse header names and only parse measured columns by @ritchie46 in https://github.com/cemsbv/pygef/pull/254
- test all attributes by @ritchie46 in https://github.com/cemsbv/pygef/pull/255
- add a shim for the gef-file parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/260
- make xml-parser generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/262
- parse bore layers by @ritchie46 in https://github.com/cemsbv/pygef/pull/263
- add soil distribution by @ritchie46 in https://github.com/cemsbv/pygef/pull/264
- remove first xml bore parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/265
- add basic cpt plotting by @ritchie46 in https://github.com/cemsbv/pygef/pull/270
- update readme by @ritchie46 in https://github.com/cemsbv/pygef/pull/271
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.4...0.8.0-alpha
What's Changed
- Bump version to 0.7.4 by @tlukkezen in https://github.com/cemsbv/pygef/pull/220
- 222 - Allow patch version range in setup requirements by @tlukkezen in https://github.com/cemsbv/pygef/pull/223
- pin requirements in requirements.txt by @tlukkezen in https://github.com/cemsbv/pygef/pull/224
- Bump polars[pyarrow] from 0.13.59 to 0.13.62 by @dependabot in https://github.com/cemsbv/pygef/pull/228
- chore[bro]: set strict mypy rules by @ritchie46 in https://github.com/cemsbv/pygef/pull/213
- refactor[gef]: lot's of refactoring by @ritchie46 in https://github.com/cemsbv/pygef/pull/235
- tests: move tests to dedicated folder by @ritchie46 in https://github.com/cemsbv/pygef/pull/243
- ci: don't automatically release from master by @ritchie46 in https://github.com/cemsbv/pygef/pull/244
- refactor: init broxml test and strict mypy by @ritchie46 in https://github.com/cemsbv/pygef/pull/245
- refactor: parsing the xml generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/246
- Bump black from 22.6.0 to 22.8.0 by @dependabot in https://github.com/cemsbv/pygef/pull/247
- Bump mypy from 0.961 to 0.971 by @dependabot in https://github.com/cemsbv/pygef/pull/237
- load cpt data by @ritchie46 in https://github.com/cemsbv/pygef/pull/253
- parse header names and only parse measured columns by @ritchie46 in https://github.com/cemsbv/pygef/pull/254
- test all attributes by @ritchie46 in https://github.com/cemsbv/pygef/pull/255
- add a shim for the gef-file parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/260
- make xml-parser generic by @ritchie46 in https://github.com/cemsbv/pygef/pull/262
- parse bore layers by @ritchie46 in https://github.com/cemsbv/pygef/pull/263
- add soil distribution by @ritchie46 in https://github.com/cemsbv/pygef/pull/264
- remove first xml bore parser by @ritchie46 in https://github.com/cemsbv/pygef/pull/265
- add basic cpt plotting by @ritchie46 in https://github.com/cemsbv/pygef/pull/270
- update readme by @ritchie46 in https://github.com/cemsbv/pygef/pull/271
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.4...0.8.0-alpha
Natural Resources - Soil and Land
- Python
Published by tversteeg about 2 years ago

pygef - 0.7.4
Fixed
- Update polars by @ritchie46 in #203 and #211
- Fix cpt data parsing separator issues by @tlukkezen in https://github.com/cemsbv/pygef/pull/218
- Handle columnvoid headers by @tlukkezen in https://github.com/cemsbv/pygef/pull/219
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.3...0.7.4
Natural Resources - Soil and Land
- Python
Published by tlukkezen over 2 years ago

pygef - 0.7.3
Fixed
metGrind
components changed to 0.05 from 0.5 by @ic144 in https://github.com/cemsbv/pygef/pull/172- Negative corrected depth by @tversteeg in https://github.com/cemsbv/pygef/pull/199
New Contributors
- @ic144 made their first contribution in https://github.com/cemsbv/pygef/pull/172
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.2...0.7.3
Natural Resources - Soil and Land
- Python
Published by tversteeg almost 3 years ago

pygef - 0.7.2
Fixed
- Wrong polars series passed to matplotlib by @RDWimmers in https://github.com/cemsbv/pygef/pull/158
New Contributors
- @RDWimmers made their first contribution in https://github.com/cemsbv/pygef/pull/158
Full Changelog: https://github.com/cemsbv/pygef/compare/0.7.1...0.7.2
Natural Resources - Soil and Land
- Python
Published by tversteeg over 3 years ago

pygef - 0.7.1
Removed
- Grouping mechanism by @tversteeg in https://github.com/cemsbv/pygef/pull/134
xmlschema
in favor oflxml
by @martinapippi in https://github.com/cemsbv/pygef/pull/141
Fixed
- Less strict
xyid
regex by @breinbaas in https://github.com/cemsbv/pygef/pull/138
New Contributors
- @breinbaas made their first contribution in https://github.com/cemsbv/pygef/pull/138
Full Changelog: https://github.com/cemsbv/pygef/compare/0.6.3...0.7.1
Natural Resources - Soil and Land
- Python
Published by martinapippi over 3 years ago

pygef - 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
Natural Resources - Soil and Land
- Python
Published by tversteeg over 3 years ago

pygef -
Fixed
- Grouping by using pandas again instead of polars (#108, #130)
Natural Resources - Soil and Land
- Python
Published by tversteeg over 3 years ago

pygef -
Fixed
- Parsing of newline characters for DOS based files (
\r\n
) - CSV data blocks with padded spaces
Natural Resources - Soil and Land
- Python
Published by tversteeg over 3 years ago

pygef - 0.5.0
Breaking Changes
- The
ParseGEF.df
object is now a polars dataframe instead of a pandas dataframe, a pandas dataframe can be accessed by calling.to_pandas()
on the polars dataframe (#70) - Soil type dataframe columns and other inconsistent casings have been renamed (the old ones can still be used with the
old_column_names
flag):.df["G"]
->.df["gravel_component"]
.df["S"]
->.df["sand_component"]
.df["C"]
->.df["clay_component"]
.df["L"]
->.df["loam_component"]
.df["P"]
->.df["peat_component"]
.df["SI"]
->.df["silt_component"]
.df["Remarks"]
->.df["remarks"]
.df["elevation_with_respect_to_NAP"]
->.df["elevation_with_respect_to_nap"]
Added
old_column_names
flag toParseCPT()
andParseGEF()
for using the deprecated column names, see breaking change section above
Changed
- Performance has overall been greatly improved by using polars instead of pandas and by parsing the headers with a bespoke rust library
Natural Resources - Soil and Land
- Python
Published by tversteeg over 3 years ago

