{"id":18552336,"url":"https://github.com/cuspaceflight/tawhiri-tools","last_synced_at":"2025-07-11T16:38:30.175Z","repository":{"id":15824835,"uuid":"18564644","full_name":"cuspaceflight/tawhiri-tools","owner":"cuspaceflight","description":"Auxillary programs used during the development of tawhiri.","archived":false,"fork":false,"pushed_at":"2015-08-09T13:29:38.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-15T11:12:19.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/cuspaceflight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-08T15:58:35.000Z","updated_at":"2015-08-09T13:29:39.000Z","dependencies_parsed_at":"2022-09-02T14:11:09.011Z","dependency_job_id":null,"html_url":"https://github.com/cuspaceflight/tawhiri-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cuspaceflight/tawhiri-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2Ftawhiri-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2Ftawhiri-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2Ftawhiri-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2Ftawhiri-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuspaceflight","download_url":"https://codeload.github.com/cuspaceflight/tawhiri-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2Ftawhiri-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264852987,"owners_count":23673546,"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":"2024-11-06T21:13:52.725Z","updated_at":"2025-07-11T16:38:30.159Z","avatar_url":"https://github.com/cuspaceflight.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T\u0026#257;whirim\u0026#257;tea tools\n\nSee also: [tawhiri](https://github.com/cuspaceflight/tawhiri) (main project).\n\n## Included programs\n\n### dataset-stats\n\nAnalyse a dataset, and proudce mean, min, max \u0026 standard deviation for each\n(level, variable). This will be used to pick sensible parameters for the\nnumerical integration.\n\n### dataset-archive\n\nCopy wind data in a box that bounds the UK to and from dataset files. This is\nrunning via cron, and will be used to retrospectively run predictions and\ncompare them to actual flights.\n\n### quick-map\n\nSmall HTML \u0026 Coffee/Javascript page to show a trace (represented as a list of\n(lat, lon) tuples) on a map, for testing without a full UI.\n\n## License\n\n`dataset-stats` and `dataset-archive` are Copyright 2014\n[Daniel Richman](http://www.danielrichman.co.uk/) and are licensed under the\n[GNU GPL 3](http://gplv3.fsf.org/); see LICENSE.\n\n## Dependencies\n\n`dataset-stats` and `dataset-archive` require OCaml and Core\n(from `opam install core`).\n\n## Building\n\n`dataset-stats` and `dataset-archive` may be built using `corebuild`; you\nwant to build `main.native` in `dataset-stats/` and `archive.native` \u0026\n`unpack.native` in `dataset-archive/`.\n\n## Deploying\n\nOCaml’s `BigArray` doesn’t appear to be able to create read-only maps, and\nso in order to map a read-only dataset, we need to create a private map.\nTurns out the kernel is a bit unhappy about us asking for 18G of memory we\nmight end up using. The ~~“solution”~~ hack is to turn overcommit up to\ninfinity:\n\n`sudo sysctl vm.overcommit_memory=1`\n\n(and create /etc/sysctl.d/90-tawhiri-overcommit.conf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuspaceflight%2Ftawhiri-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuspaceflight%2Ftawhiri-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuspaceflight%2Ftawhiri-tools/lists"}