Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

AEM Interpretation Conversion Tool (AEMInterpConvert)

Background

In response to the acquisition of national-scale airborne electromagnetic surveys and the development of a national depth estimates database, a new workflow has been established to interpret airborne electromagnetic conductivity sections. This workflow allows for high quantities of high quality interpretation-specific metadata to be attributed to each interpretation line or point. The conductivity sections are interpreted in 2D space, and are registered in 3D space using code developed at Geoscience Australia. This code also verifies stratigraphic unit information against the national Australian Stratigraphic Units Database, and extracts interpretation geometry and geological data, such as depth estimates compiled in the Estimates of Geological and Geophysical Surfaces database. Interpretations made using this workflow are spatially consistent and contain large amounts of useful stratigraphic unit information. These interpretations are made freely-accessible as

  1. Text files and 3D objects through an electronic catalogue,
  2. As point data through a point database accessible via a data portal, and
  3. Available for 3D visualisation and interrogation through a 3D data portal.

These precompetitive data support the construction of national 3D geological architecture models, including cover and basement surface models, and resource prospectivity models. These models are in turn used to inform academia, industry and governments on decision-making, land use, environmental management, hazard mapping, and resource exploration.

For more information please see the Metadata Statement and User Guide and Workflow Document.

Installation

1. Clone the Repository

git clone https://github.com/GeoscienceAustralia/aem-interpretation-conversion.git
cd aem-interpretation-conversion

---

2. Choose Your Environment Setup

Option A: Anaconda (Recommended)

If you have Anaconda installed

conda env create -f environment.yml
conda activate aemworkflow-env

Option B: Python 3.12 + Virtual Environment (VENV)

Install a virtual environment

Ensure Python 3.12 is installed on your system. You can download it from the official Python website: https://www.python.org/downloads/.

Linux/MacOS instructions

To create a virtual environment, open a terminal and run the following commands:

python3.12 -m venv aem-venv
source aem-venv/bin/activate

This will create a virtual environment named aem-venv and activate it.

Then install the GDAL dependencies: Use the provided build script to install system-level GDAL and PROJ libraries:

./builds/linux_gdal.sh

This script will:

  • Install required system packages (gdal, proj)
  • Install the Python GDAL bindings matching your GDAL version

And add the current directory to the Python path:

export PYTHONPATH=$PYTHONPATH:$(pwd)

Continue with the verification and installation instructions below

Windows instructions

To create a virtual environment, open a terminal and run the following commands:

Download and install OSGeo4W.

  • Choose Advanced Install
  • Select the following packages:
    • gdal
    • proj

After installation (default path is C:OSGeo4W or C:OSGeo4W64), run the helper script to configure environment variables and install Python GDAL bindings using Windows Command prompt (CMD):

cd builds
windows_gdal.bat

This script will:

  • Add OSGeo4W binaries to your PATH
  • Detect the installed GDAL version (gdalinfo --version)
  • Install the matching Python GDAL bindings via pip

Continue with the verification and installation instructions below

Verification and installation

Then verify the gdal installation and bindings are working correctly by ensuring this command runs without errors:

Finally, install the AEMInterpConvert Package:

pip install .

Run scripts

For each script, run the file with any required arguments and any additional where you want to deviate from the default. All arguments should be in quotes as per the examples.

If using Anaconda, activate conda environment if required before running the scripts.

Pre-interpretation

aemworkflow pre-interpret --i "{input_directory}" --o "{output_directory}"

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
coordinate reference system No 28349 28349, 28350, 28351, 28352, 28354, 28355, 28356 GDA/MGA zone EPSG
GIS software No Esri ArcMap esri_arcmap_0.5 or esri_arcmap_pro_0.5  
number of depth lines No 10    
lines increments in metres No 30    

Interpretation

aemworkflow interpret --i "{input_directory}" --o "{output_directory}"

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
coordinate reference system No 28349 28349, 28350, 28351, 28352, 28354, 28355, 28356 GDA/MGA zone EPSG
GIS software No Esri ArcMap esri_arcmap_0.5 or esri_arcmap_pro_0.5  
number of depth lines No 10    
lines increments in metres No 30    

Validation

aemworkflow validate --i "{input_directory}" --o "{output_directory}" --a "{asud_filename}" --c "{confidence_filename}" --ct "{contact_filename}" --ib "{interp_basis_filename}"

To also run ASUD geological era validation, provide one or more era lookup files:

aemworkflow validate --i "{input_directory}" --o "{output_directory}" --a "{asud_filename}" --c "{confidence_filename}" --ct "{contact_filename}" --ib "{interp_basis_filename}" --cenozoic "{cenozoic_file}" --mesozoic "{mesozoic_file}" --paleozoic "{paleozoic_file}"

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
asud filename Yes None    
confidence filename Yes None    
contact filename Yes None    
interp basis filename Yes None    
--cenozoic No None   Path to Cenozoic ASUD era lookup CSV file
--mesozoic No None   Path to Mesozoic ASUD era lookup CSV file
--paleozoic No None   Path to Paleozoic ASUD era lookup CSV file
--neoproterozoic No None   Path to Neoproterozoic ASUD era lookup CSV file
--mesoproterozoic No None   Path to Mesoproterozoic ASUD era lookup CSV file
--paleoproterozoic No None   Path to Paleoproterozoic ASUD era lookup CSV file
--archean No None   Path to Archean ASUD era lookup CSV file

The era lookup flags are all optional. Only the eras whose flags are provided will be included in the geological era validation. If none are provided, the era validation step is skipped.

Conversion

aemworkflow convert --i "{input_directory}" --o "{output_directory}"

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
coordinate reference system No 28349 28349, 28350, 28351, 28352, 28354, 28355, 28356 GDA/MGA zone EPSGac

Export

aemworkflow export --i "{input_directory}" --o "{output_directory}" --b "{boundary_file}" --s "{split_file}" --mdc --mdch --csv --es --3d

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
asud filename Yes None    
boundary file Yes None    
split file Yes None    
--mdc No False Add the flag if you want to set to true Export to MDC format
--mdch No False Add the flag if you want to set to true Export to MDCH format
--csv No False Add the flag if you want to set to true Export to CSV format
--es No False Add the flag if you want to set to true Export to Export to GA 3D Portal / EarthSci format
--3d No False Add the flag if you want to set to true Export to 3D shape file format
--crs No 28349 28349, 28350, 28351, 28352, 28354, 28355, 28356 GDA/MGA zone EPSG

Linear Geology

aemworkflow linear_geology --i "{input_directory}" --o "{output_directory}" --map-data {Shapefile1 stem} {Column index} --map-data {Shapefile2 stem} {Column index} ...

The --map-data option requires two values: 1. Shapefile stem (without the .shp extension) 2. Column number used to group the joined geology attributes

Parameter examples:

Argument Required Default Options Notes
input directory Yes None   A non zipped folder containing required files
output directory Yes None    
map data entries Yes None multiple --map-data <stem> <column> Shapefile name without .shp and column number

Useful Links

Home Page
http://github.com/GeoscienceAustralia/aem-interpretation-conversion
Documentation

http://GeoscienceAustralia.github.io/aem-interpretation-conversion

https://ecat.ga.gov.au/geonetwork/srv/eng/catalog.search#/metadata/150529

Issue tracking
https://github.com/GeoscienceAustralia/aem-interpretation-conversion/issues

AEMInterpConvert website user interface https://aem.toolkits.ga.gov.au

Bugs & Feedback

For bugs, questions and discussions, please use Github Issues https://github.com/GeoscienceAustralia/aem-interpretation-conversion/issues

About

No description, website, or topics provided.

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages