{"id":22282203,"url":"https://github.com/genericmappingtools/gmtserver-admin","last_synced_at":"2025-07-28T20:32:05.876Z","repository":{"id":35550783,"uuid":"210978846","full_name":"GenericMappingTools/gmtserver-admin","owner":"GenericMappingTools","description":"Cache data and script for managing the GMT data server","archived":false,"fork":false,"pushed_at":"2025-04-30T10:50:15.000Z","size":99774,"stargazers_count":7,"open_issues_count":17,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-30T12:09:10.610Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GenericMappingTools.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,"zenodo":null}},"created_at":"2019-09-26T02:08:06.000Z","updated_at":"2025-04-30T10:50:18.000Z","dependencies_parsed_at":"2023-02-10T01:16:02.928Z","dependency_job_id":"544aa0cb-abef-416f-aee8-dbc0856f5c81","html_url":"https://github.com/GenericMappingTools/gmtserver-admin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GenericMappingTools/gmtserver-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fgmtserver-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fgmtserver-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fgmtserver-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fgmtserver-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenericMappingTools","download_url":"https://codeload.github.com/GenericMappingTools/gmtserver-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenericMappingTools%2Fgmtserver-admin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267580551,"owners_count":24110865,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-03T16:26:06.962Z","updated_at":"2025-07-28T20:32:00.865Z","avatar_url":"https://github.com/GenericMappingTools.png","language":"Shell","readme":"# GMT Data Server Administration\n\nCache data and scripts for managing the GMT data server\n\nCurrent master server is: **gmtserver.soest.hawaii.edu**, in directory `/export/gmtserver/gmt/data`\n\nThe actual URL is: **www.soest.hawaii.edu/gmt/data** [you cannot browse there]\n\nMaster data server URL: **https://oceania.generic-mapping-tools.org**\n\nTo clone this repo you can run\n\n```\ngit clone https://github.com/GenericMappingTools/gmtserver-admin\n```\n\n## Cache files\n\nGMT Core developers can add, modify or remove cache files from their working copy\nof the gmtserver-admin repo, and after merging the gmt server will automatically\nupdate its working copy via the crontab script that runs every hour, and if there\nare changes the `gmt_hash_server.txt` file will be rebuilt as needed.\n\n## Global grids\n\nFor now, all Earth and planetary grids are maintained and updated manually.\nThe production of global grids are based on recipes in the recipes folder\nand can be activated via the Makefile. For new data, design a new recipe.\nAssuming recipe bugs are worked out, convert the single high-resolution grid\nor image to our tiled system via `scripts/srv_downsampler.sh neptune_relief`.\nOnce successful, tile the downsampled grids via `scripts/srv_tiler.sh neptune_relief`.\nIf these are satisfactory they can be moved to the candidate server. E.g.,\n`make place-neptune-relief`. If after testing we wish to release this data,\nrun `make server-release`.\n\n## Crontab\n\nThe working directory on the gmtserver is updated once an hour via a\ncrontab script running under local account pwessel with this crontab entry:\n\n```\n0 * * * *      /export/gmtserver/gmt/gmtserver-admin/scripts/srv_git_update.sh \u003e /export/gmtserver/gmt/LOGS/git_update.cron.log 2\u003e\u00261\n```\n\n## Downsampling\n\nHere are technical details on how we perform down-sampling. We are filtering, say,\nthe orange 15s data nodes to make a 30s grid (red squares).  At each output node\nwe imagine a circle (the small black and three gray for nearby nodes).  We use 2\ntimes sqrt(2) times the output increment in degrees (converted to km) which gives\nus the diameter, i.e., the full filter width expected by **grdfilter**.  Because\nof this wider circle diameter that touches or includes neighboring output nodes\nwe assure we have no aliasing and all data points contribute to the filtered output.\n**Note**: `R_p` is the planetary radius and `Delta` is the output grid spacing.\n\n\u003cimg src=\"png/Fig_FW_1.png\" width=\"60%\"\u003e\n\nWith this scheme, we get a filter width versus output grid spacing that looks like this:\n\n\u003cimg src=\"png/Fig_FW_2.png\" width=\"60%\"\u003e\n\nIf we look at what the filter weights are for the Gaussian filter along a cross-section\nthrough two neighbor nodes we get this:\n\n\u003cimg src=\"png/Fig_FW_3.png\" width=\"60%\"\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericmappingtools%2Fgmtserver-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenericmappingtools%2Fgmtserver-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenericmappingtools%2Fgmtserver-admin/lists"}