Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mining Exploration

Comperhensive data exploration for mining surveyors and operators.

Setup

first, connect to your gcloud acount on your device terminal

gcloud auth login

Create a new project

gcloud projects create PROJECT_ID
gcloud config set project PROJECT_ID

Setup the project by running setup script

./setup.bash

Note: This step will take you a while, you might be exitted while running the script. If that happen, simply running the script again with the same name will work

preprocess data

In this scenario, surveyor must push the data to the bucket and after that a job can be submitted. To run this process, simply running:

./send_data.bash <cluster-name> <bucket-name> <path/to/file.csv>

Sample file can be downloaded from here: https://ecat.ga.gov.au/geonetwork/srv/eng/catalog.search#/metadata/145120

After that is done, surveyor can then run this process to perform query to the table.

./update_preview.bash <cluster-name> <bucket-name>

Then surveyor can view the result by copying the notebook file (minex_view.ipynb) to Bigquery studio. Sample results can be viewed from the current notebook file.

delete data (for dev)

This removes all table from metastore

gcloud dataproc jobs submit pyspark --cluster=<cluster_name> --region="<region>" gs://<bucket_name>/jobs/drop_all.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages