{"id":22713581,"url":"https://github.com/program--/hfx","last_synced_at":"2025-03-29T22:44:00.305Z","repository":{"id":191312616,"uuid":"684332335","full_name":"program--/hfx","owner":"program--","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-29T03:21:19.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T00:27:46.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/program--.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,"governance":null}},"created_at":"2023-08-28T23:32:54.000Z","updated_at":"2023-08-29T14:43:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c60f72b-4831-4afd-ae52-c6ce50968315","html_url":"https://github.com/program--/hfx","commit_stats":null,"previous_names":["program--/hfx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/program--%2Fhfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/program--%2Fhfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/program--%2Fhfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/program--%2Fhfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/program--","download_url":"https://codeload.github.com/program--/hfx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254097,"owners_count":20747948,"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-12-10T14:09:35.880Z","updated_at":"2025-03-29T22:44:00.270Z","avatar_url":"https://github.com/program--.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hfx\n\nThis repository contains a script `hfx.py` that quickly generates a subset of hydrofabric data from the CONUS pre-release GeoPackage.\n\nThis **should not** be used in place of [hfsubset](https://github.com/LynkerIntel/hfsubset), unless you have a specific reason, or a local copy of the CONUS hydrofabric GeoPackage, as this queries directly on feature IDs.\n\n## Usage\n\nInstall the requirements with:\n\n```sh\n$ pip install -r requirements.txt\n```\n\nThen set permissions and run `hfx.py`:\n\n```sh\n$ chmod +x hfx.py\n$ ./hfx.py -h\n#\u003e usage: hfx [-h] [-o OUTPUT] [-c CONUS] [--debug] ID [ID ...]\n#\u003e \n#\u003e positional arguments:\n#\u003e   ID                    Hydrofabric Identifiers\n#\u003e                         (i.e. cat-32, nex-85, wb-3813, cnx-391, ...)\n#\u003e \n#\u003e options:\n#\u003e   -h, --help            show this help message and exit\n#\u003e   -o OUTPUT, --output OUTPUT\n#\u003e                         Path to output GeoPackage\n#\u003e   -c CONUS, --conus CONUS\n#\u003e                         Path to local CONUS hydrofabric GeoPackage. If this\n#\u003e                         argument is not specified, then the filtering happens\n#\u003e                         via web requests.\n#\u003e   --debug\n#\u003e                         Output debug messages.\n```\n\n\u003e **Note**: it's recommended to download the CONUS GeoPackage\n\u003e           and use this script on it instead of the web requests.\n\u003e           Otherwise, its performance will be degraded.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogram--%2Fhfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogram--%2Fhfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogram--%2Fhfx/lists"}