{"id":24297206,"url":"https://github.com/geopytool/geochemdataformat","last_synced_at":"2025-10-07T15:27:09.633Z","repository":{"id":69877892,"uuid":"302495411","full_name":"GeoPyTool/GeochemDataFormat","owner":"GeoPyTool","description":"a primitive design of Geochem Data file format.","archived":false,"fork":false,"pushed_at":"2023-12-29T08:38:02.000Z","size":3485,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-16T20:02:43.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeoPyTool.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}},"created_at":"2020-10-09T00:46:15.000Z","updated_at":"2023-09-19T13:43:11.000Z","dependencies_parsed_at":"2023-12-21T04:33:01.194Z","dependency_job_id":"58232820-4c1b-4ef5-b41d-8cba954c27b1","html_url":"https://github.com/GeoPyTool/GeochemDataFormat","commit_stats":null,"previous_names":["geopytool/geochemdataformat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoPyTool%2FGeochemDataFormat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoPyTool%2FGeochemDataFormat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoPyTool%2FGeochemDataFormat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoPyTool%2FGeochemDataFormat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeoPyTool","download_url":"https://codeload.github.com/GeoPyTool/GeochemDataFormat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242179252,"owners_count":20084940,"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":[],"created_at":"2025-01-16T19:59:17.019Z","updated_at":"2025-10-07T15:27:09.514Z","avatar_url":"https://github.com/GeoPyTool.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geochem Data Format\nA simple Geochemical Data file format design.\n\n# Example\n```\n{\n    \"date\": \"2021-02-01\",\n    \"version\": \"0.02\",\n    \"author\": \"Fred Yu, Pieter Vermeesch\",\n    \"title\": \"AnAbOr\",\n    \"type\": \"xyz\",\n    \"reference\": \"Barker1979\",\n    \"lines\": {\n\t\"1\":[\n\t    [30,70,0],\n\t    [20,60,20],\n\t    [17.5,57.5,25],\n\t    [15,50,35],\n\t    [39,26,35]\n\t],\n\t\"2\":[\n\t    [48,32,20],\n\t    [20,60,20]\n\t],\n\t\"3\":[\n\t    [17.5,57.5,25],\n\t    [0,70,30]\n\t]\n    },\n    \"type\": {\n\t\"1\": \"solid\",\n\t\"2\": \"solid\",\n\t\"3\": \"solid\"\n    },\n    \"polygons\": {\n\t\"A\":[\n\t    [30,70,0],\n\t    [17.5,57.5,25],\n\t    [0,70,30],\n\t    [0,100,0]\n\t],\n\t\"B\":[\n\t    [30,70,0],\n\t    [20,60,20],\n\t    [80,0,20],\n\t    [100,0,0]\n\t],\n\t\"C\":[\n\t    [80,0,20],\n\t    [20,60,20],\n\t    [17.5,57.5,25],\n\t    [15,50,35],\n\t    [65,0,35]\n\t],\n\t\"D\":[\n\t    [65,0,35],\n\t    [0,0,100],\n\t    [0,70,30],\n\t    [17.5,57.5,25],\n\t    [15,50,35]\n\t]\n    },\n    \"classes\": {\n    \t\"A\": \"Trondhjemite\",\n\t\"B\": \"Tonalite\",\n\t\"C\": \"Granodiorite\",\n\t\"D\": \"Granite\"\n    },\n    \"labels\": {\n\t\"Trondhjemite\": [10,75,15,0],\n\t\"Tonalite\": [40,50,10,60],\n\t\"Granodiorite\": [30,42.5,27.5,60],\n\t\"Granite\": [15,25,60,0]\n    }\n}\n```\n# Explanation\n\n`\"classes\"` gives the full name of the different polygons.  \n\n`\"labels\"` uses names that are shown on the plot. If a diagram contains a lot of polygons (e.g., the TAS diagram), then it is advisable to use short labels instead of the full class names.  \n\n`\"labels\"` specifies the coordinates of the labels (first three elements if `type=xyz`, or the first two elements if `type=xy`) as well as their angle of rotation (in degrees, last element in the location vectors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeopytool%2Fgeochemdataformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeopytool%2Fgeochemdataformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeopytool%2Fgeochemdataformat/lists"}