{"id":43366706,"url":"https://github.com/softlandia/glasio","last_synced_at":"2026-02-02T04:48:35.594Z","repository":{"id":57543034,"uuid":"200383058","full_name":"softlandia/glasio","owner":"softlandia","description":"golang library for read/write/control las files ","archived":false,"fork":false,"pushed_at":"2020-07-16T23:23:55.000Z","size":6302,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T19:24:08.731Z","etag":null,"topics":["data-format","data-mining","geology","golang","golang-library","golang-package","las","las-files","log-ascii-standart","petroleum","petroleum-engineering"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softlandia.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}},"created_at":"2019-08-03T14:11:48.000Z","updated_at":"2022-09-04T16:37:24.000Z","dependencies_parsed_at":"2022-09-26T18:31:25.696Z","dependency_job_id":null,"html_url":"https://github.com/softlandia/glasio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/softlandia/glasio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softlandia%2Fglasio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softlandia%2Fglasio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softlandia%2Fglasio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softlandia%2Fglasio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softlandia","download_url":"https://codeload.github.com/softlandia/glasio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softlandia%2Fglasio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["data-format","data-mining","geology","golang","golang-library","golang-package","las","las-files","log-ascii-standart","petroleum","petroleum-engineering"],"created_at":"2026-02-02T04:48:34.919Z","updated_at":"2026-02-02T04:48:35.587Z","avatar_url":"https://github.com/softlandia.png","language":"Go","readme":"# golang las library #\n\n(c) softlandia@gmail.com\n\n\u003edownload: go get -u github.com/softlandia/glasio  \n\u003einstall: go install\n\nThe library makes it easy to read or write data in LAS format.\nThe main reason for the development was the need to read and standardize a large number of LAS files obtained from various sources\n\nFeatures:\n\n1. The encoding is determined automatically\n2. On reading perform validation of the key parameters and integrity of the structure LAS file\n3. Messages are generated for all inconsistencies:\n    - zero value of important parameters\n    - depth step change in data section\n    - lack of curves section\n    - conversion errors to a numerical value\n    - mismatch of the step parameter declared in the header to the actual\n    - duplication of curve names\n4. Excluding critical errors, the library allows you to read the file and get data\n5. Saving a file ensures the integrity of the structure and its readability for most other programs\n6. It is possible to specify a dictionary of standard mnemonics; when reading a file, messages about curves that do not match the specified ones will be generated\n7. It is possible to specify a dictionary of automatic substitution of mnemonics, respectively, curves with the given names will be renamed\n\nWrapped (__WRAP__) las files are not supported\n\n## dependences ##\n\n- github.com/softlandia/cpd\n- github.com/softlandia/xlib\n\n## examples ##\n\nsimple\n\n- make empty LAS file\n- reads sample file \"expand_points_01.las\", write md file with messages\n- saves the recovered LAS file \"expand_points_01+.las\"\n\nrepaire\n\n- reads all LAS files in current folder\n- saves the recovered files to the same folder\n\nlasin\n\n- reads LAS file\n- print warning\n\n## tests ##\n\ncoverage 91%  \nThe \"data\" folder contains files for testing, no remove/change/add\n\n## technical info ##\n\n### how type Las store data ###\n\naccess to main parameters:  \nlas.VERS()  \nlas.WRAP()  \nlas.STEP()  \nlas.STRT()  \nlas.STOP()  \nlas.NULL()  \nlas.WELL()\n\nnumber of points and curves:  \nlas.NumPoints() - number of points\nlen(las.Logs) - number of curves\n\naccess to curves and data:  \nlas.Logs[0].D[0] - first depth  \nlas.Logs[1].V[100] - value of first curve on 101 depth step  \nlas.Logs[2].Name - name of second curve  \nlas.Logs[2].Unit - unit of second curve  \nlas.Logs[2].Mnemonic - mnemonic of second curve, the value is determined if the dictionary was applied  \n\nif las file contains duplication of any parameter, then use the first in curve\nsection used all curves name. The subsequent duplicated parameter is renamed.\n\n## warnings generated when reading a LAS file ##\n\n### warning format ###\n\nextended:  \n\u003e x, y, \"message text\"  \n\u003e x - section number  \n\u003e y - line number of input file  \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftlandia%2Fglasio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftlandia%2Fglasio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftlandia%2Fglasio/lists"}