{"id":13720356,"url":"https://github.com/pemn/bm_geostat_process","last_synced_at":"2025-05-07T12:31:15.980Z","repository":{"id":184508112,"uuid":"672013930","full_name":"pemn/bm_geostat_process","owner":"pemn","description":"open source workflow for geostatistics block models","archived":false,"fork":false,"pushed_at":"2024-05-10T12:09:48.000Z","size":2713,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-14T09:39:10.246Z","etag":null,"topics":["3d","drillholes","geology","geoscience","geostatistics","mining","python","vtk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pemn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-28T17:29:40.000Z","updated_at":"2024-10-11T13:14:44.000Z","dependencies_parsed_at":"2024-11-14T09:31:43.413Z","dependency_job_id":"8d7687be-50f9-4f38-9ecf-e075ef867c69","html_url":"https://github.com/pemn/bm_geostat_process","commit_stats":{"total_commits":57,"total_committers":1,"mean_commits":57.0,"dds":0.0,"last_synced_commit":"453450776581e67461d37d38c8ba6611e1179757"},"previous_names":["pemn/bm_geostat_process"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pemn%2Fbm_geostat_process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pemn%2Fbm_geostat_process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pemn%2Fbm_geostat_process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pemn%2Fbm_geostat_process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pemn","download_url":"https://codeload.github.com/pemn/bm_geostat_process/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252876383,"owners_count":21818173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","drillholes","geology","geoscience","geostatistics","mining","python","vtk"],"created_at":"2024-08-03T01:01:02.885Z","updated_at":"2025-05-07T12:31:14.596Z","avatar_url":"https://github.com/pemn.png","language":"Python","funding_links":[],"categories":["Software"],"sub_categories":["Geostatistics"],"readme":"## 📌 Description\nfull open source workflow for generating a geostatistics block model  \nthis script integrates multiple generic tools and modules in a single graphical desktop application  \nthe target audience is academic use by geostatistic professionals or industrial proof of concepts projects  \nits not suited for production use  \n## 📸 Screenshot\n\n\n## 🧩 Implementation\nThe main implementation is a windows batch script that calls secondary processes for each step.  \nIt can be adapted to run in other platforms since the provided tools inherit the portability of Python.  \nThis geostatistics estimation process consists of the following steps:\n 1. Data and parameter input\n 2. Hole desurvey (runlength)\n 3. Sample database postprocess\n 4. Grid creation\n 5. Flag litho solids\n 6. Multivariate grade estimation\n 7. Estimation Postprocess\n 8. QA checks\n 9. Reserve Report\n## 📦 Installation\nIn case a python distribution is not already available, the recomended distribution is [Winpython](https://winpython.github.io/) 3.11+.  \nDownload the installer from the link above.  \nExtract into this windows special folder:  \n`%APPDATA%`  \nThe correct path to the python executable should be similar to this example:  \n`C:\\Users\\user\\AppData\\Roaming\\WPy64-31131\\python-3.11.3.amd64\\python.exe`  \nDownload this entire repository as zip and extract to a valid folder.  \nWindows blocks executables in protected folders (and subfolders) such as:\n - Desktop\n - Downloads\n - Documents\n - OneDrive Synced folders\n\nAlso, its not recomended to use the winpython install folder to save this script.  \nSo you may need to create a new valid folder directly in the C: drive. Ex.:  \n`c:\\scripts\\geostat`\n## 🎬 Run\nDouble click the main script on Windows Explorer:  \n`bm_geostat_process.bat`  \nThe graphical interface should appear.  \nOptionally, it can be called from the command line. A proper command line can be generated by using the menu `File ➔ Copy command line` on the graphical interface.\n## 📝 Parameters\nname|optional|description\n---|---|------\nlito_mesh|❎|zero or more vtk format solid meshes defining the lithology volumes\ndb_header|❎|header of hole database in csv format (x,y,z)\ndb_survey|❎|survey of hole database in csv format (azimuth, dip)\ndb_assay|❎|assay of hole database in csv format (from, to)\nvariables|❎|select which fields will be estimated as grades\nregression_engine||the estimation can be adapted to use different engines\n||scikit|open source scikit linear regression\n||pykrige|open source pykrige native python krigging\n||isatis_isapy|proprietary native python krigging from Geovariances\n||vulcan_djbmest|proprietary command line krigging from Maptek\noutput_grid|❎|path to save the block model in vtk format\noutput_reserves|☑️|path to save the reserves report in csv format\noutput_heatmap|☑️|path to save the a heatmap chart of the result in pdf format\n## 📓 Notes\n## 📚 Examples\n\n## 🧰 Tools\n - bm_geostat_process.bat: main script\n - bm_fivenum_weight.py: descriptive statistics\n - bm_pk_krig3d.py: krigging regressor\n - db_pk_krig3d.py: helper script for kirring regressor\n - db_assay_runlength.py: helper script for sample compositing\n - db_create_from_to.py: helper script for sample composition\n - db_desurvey_straight.py: sample compositing from collar,survey,assay\n - db_info.py: reports generic info about a structured data file\n - db_linear_model.py: linear regressor\n - db_pandas_evaluate.py: run generic calculations on structured data\n - db_voxel_view.py: create heatmap chart from 3d grids\n - vtk_evaluate_array.py: run generic calculations on vtk format files\n - vtk_flag_regions.py: create or flag a grid using solids\n - vtk_mine.py: reserve depletion calculation\n - vtk_reserves.py: reserves report\n## 🙋 Support\nAny question or problem contact:\n - paulo.ernesto\n## 💎 License\nApache 2.0  \nCopyright ![vale_logo_only](https://github.com/pemn/assets/blob/main/vale_logo_only_r.svg?raw=true) Vale 2023\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpemn%2Fbm_geostat_process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpemn%2Fbm_geostat_process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpemn%2Fbm_geostat_process/lists"}