You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many years the industry has had two checker applications that don't always produce the same results. This has caused clients to specify that AGS files must pass both checkers before the data is submitted to them, resulting in additional work for clients, contractors and software producers.
31
31
32
-
The Project has one goal. To produce an AGS Validator library that can be used by any developer to include AGS validation routine in their application. By Producing a single code stream that can be incorporated into any application the industry will now know if a file is valid.
32
+
The Project has one goal. To produce an AGS Validator library that can be used by any developer to include AGS validation routine in their application. By producing a single code stream that can be incorporated into any application the industry will now know if a file is valid.
33
33
34
34
The project has also created an EXE file with a simple interface that allows users to validate files. More information on this project can be found in the Related Projects section of this Wiki. This library will not visualize or fix AGS data but we welcome developers to start their own related project.
35
35
@@ -38,28 +38,33 @@ The project has also created an EXE file with a simple interface that allows use
38
38
May 4th 2021 - AGS Validator EXE Beta launched
39
39
This release is for testing by the development team and the AGS committee members. We believe that it finds all the errors in AGS 4.0.3, 4.0.4 and 4.1 files with the known issue list below.
40
40
41
-
Line numbers are not included in all error messages
41
+
September 4th, 2024 - v1.0.0
42
+
This package has been very stable with no breaking changes to the API since its first release on PyPI. However, finalizing all the validation rules took a lot of testing and refining, so this is the
43
+
first version that we recommend for validating files in production.
44
+
45
+
For more details on releases see the _changelog.txt_ file in the Git repo.
42
46
43
47
## Adding Test AGS Files
44
-
The project has launched with 55 AGS files that have deliberate errors in them. Each file has a corresponding .check file with it that defines the errors that are in the file.
48
+
The project has 80+ AGS files that have deliberate errors in them. The errors in each file are defined in its TRAN_REM field.
45
49
46
-
Every AGS file in the /tests/test_files folder is checked before a release is made to ensure that any modifications don't break any checks or introduce new problems.
50
+
Every test file is checked before a release is made to ensure that any modifications don't break any checks or introduce new problems.
47
51
48
52
If you have an AGS file where the validator either incorrectly identifies an error or does not highlight a known error then we would like to know about it so we can fix any problems and include this file in the checking routine.
49
53
50
-
To report problems please open an issue, describe the error and attach the file. The Contributor Team will then review the file, create the .check file and include it in the main Repository.
54
+
To report problems please open an issue, describe the error and attach the file. The Contributor Team will then review and address the issue.
51
55
52
56
## Credits
53
57
The AGS Python Library is created and maintained by a range of enthusiastic international volunteers (like you)
54
58
55
59
Beta Release 0.0.1 4th May 2021
60
+
Stable Release 1.0.0 4th September 2024
56
61
57
-
The initial beta release was made possible due to the considerable work completed by Asitha Senanayake with support and testing by Roger Chandler and Tony Daly.
62
+
This software was made possible due to the considerable work completed by Asitha Senanayake with support and testing by Roger Chandler, Tony Daly, Neil Chadwick.
58
63
59
-
We welcome push requests from any AGS developer within the bounds of the project, so get coding and create a push request to join the contribution team and see your name add to this Credits Page for the next release.
64
+
We welcome merge requests from any AGS developer within the bounds of the project, so get coding and create a merge request to join the contribution team and see your name add to this Credits Page for the next release.
60
65
61
66
## Development Environment
62
-
This project is built in Ubuntu 20.04 and packaged using `poetry` (python-poetry.org). Unit testing is done using `pytest` with the `toml` library as a dependency.
67
+
This project is built in Ubuntu 22.04 and packaged using `poetry` (python-poetry.org). Unit testing is done using `pytest` with the `toml` library as a dependency.
63
68
64
69
Instructions on how to install `poetry` can be found at https://python-poetry.org/docs/.
65
70
This package does not come with _setup.py_ and _requirements.txt_ files. Instead, all dependency information is provided in the _pyproject.toml_ and _poetry.lock_ files.
@@ -69,10 +74,6 @@ A development environment can be setup by running `poetry install` from within t
69
74
If you want only the dependencies installed, then run `poetry install --no-root` instead.
70
75
Unit tests can be run by running `python -m pytest` from within the root directory of the git repo.
If you are reading this then you are already involved! Thank you for being part of this amazing project. If you share our passion for this project and would like to be involved then we are looking for people to help in any of the roles below. Just introduce yourself to the team via
78
79
@@ -82,13 +83,12 @@ Managers (Primary role is to merge pull requests from contributors)
82
83
Controllers (Primary role is governance and PR)
83
84
84
85
## Related Projects
85
-
The AGS library is an excellent tool for any developers to add AGS validation capabilities to their application but is not user friendly for users.<br><br>
86
-
To help users validate AGS files using this library the following tools should be reviewed. Please see the links below for the status of each of these projects.<br><br>
87
-
-[AGS Validator EXE](https://gitlab.com/ags-data-format-wg/ags-checker-desktop-app) (Released by AGS)
88
-
-[AGS Excel Add-In](https://gitlab.com/RogerChandler/ags-validator-excel-add-in) (Developed by Roger Chandler)
89
-
-[AGS Validator Web Interface and API](https://github.com/BritishGeologicalSurvey/AGS-Validator-FastAPI-Web-App) (Developed by BGS)
90
-
91
-
92
-
Use the navigation menu on the left and the search to find what you want.
93
-
86
+
This library is an excellent tool for developers to add AGS validation capabilities to their application and for end users who like to work with AGS files programmatically using Python.
87
+
However, if you are an end user who wants to validate AGS files without having to write code, then you can check out the following tools.
88
+
89
+
-[AGS4 CLI](https://ags-data-format-wg.gitlab.io/ags-python-library/usage/#command-line-interface) (Developed by Asitha Senanayake)
90
+
-[AGS Validator EXE](https://gitlab.com/ags-data-format-wg/ags-checker-desktop-app) (Released by AGS)
91
+
-[AGS Excel Add-In](https://www.geotechnicaldata.com/ags-data-toolkit-for-excel) (Developed by Roger Chandler)
92
+
-[AGS Validator Web Interface and API](https://github.com/BritishGeologicalSurvey/AGS-Validator-FastAPI-Web-App) (Developed by BGS)
93
+
-[Web application (Digital Geotechnical)](https://dg-ags-validator.ew.r.appspot.com) (Developed by Neil Chadwick)
Any edits made in the GUI can be saved and exported back to an AGS4 file as follows:
129
129
@@ -147,7 +147,9 @@ Senanayake et al., (2022). python-ags4: A Python library to read, write, and val
147
147
148
148
This library has been used to create
149
149
150
+
-[Windows/Linux/MacOS Command-Line Utility (included with the library)](https://ags-data-format-wg.gitlab.io/ags-python-library/usage/#command-line-interface)
150
151
- Windows Desktop Application - https://gitlab.com/ags-data-format-wg/ags-checker-desktop-app
151
152
- Web application and API (pyagsapi) - https://github.com/BritishGeologicalSurvey/pyagsapi
152
153
- Deployed as https://agsapi.bgs.ac.uk/
153
154
- Excel Add On - https://gitlab.com/RogerChandler/ags-validator-excel-add-in
155
+
- Web application (Digital Geotechnical) - https://dg-ags-validator.ew.r.appspot.com/
0 commit comments