{"id":32178449,"url":"https://github.com/regionmask/regionmask","last_synced_at":"2025-10-21T20:55:58.056Z","repository":{"id":39570043,"uuid":"63765507","full_name":"regionmask/regionmask","owner":"regionmask","description":"create masks of geospatial regions for arbitrary grids","archived":false,"fork":false,"pushed_at":"2025-10-08T05:47:54.000Z","size":7395,"stargazers_count":258,"open_issues_count":48,"forks_count":24,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-10-21T20:55:42.261Z","etag":null,"topics":["netcdf","python","rasterize","scientific-computing","spatial","xarray"],"latest_commit_sha":null,"homepage":"https://regionmask.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regionmask.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-20T08:45:33.000Z","updated_at":"2025-10-08T05:47:55.000Z","dependencies_parsed_at":"2023-09-29T16:41:58.761Z","dependency_job_id":"9cdde3c4-ab07-4fec-88d2-6316a7392850","html_url":"https://github.com/regionmask/regionmask","commit_stats":{"total_commits":512,"total_committers":8,"mean_commits":64.0,"dds":0.02734375,"last_synced_commit":"e74cb22e976925ccd6c8ecaac8a9bfaadab44574"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/regionmask/regionmask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regionmask%2Fregionmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regionmask%2Fregionmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regionmask%2Fregionmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regionmask%2Fregionmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regionmask","download_url":"https://codeload.github.com/regionmask/regionmask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regionmask%2Fregionmask/sbom","scorecard":{"id":768931,"data":{"date":"2025-08-11","repo":{"name":"github.com/regionmask/regionmask","commit":"92d5d77ef513f40134b9d738a5d4af7491ac97f7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"10 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-additional.yaml:1","Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/pypi-release.yaml:1","Warn: no topLevel permission defined: .github/workflows/upstream-dev-ci.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-additional.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/ci-additional.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pypi-release.yaml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/pypi-release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upstream-dev-ci.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/upstream-dev-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upstream-dev-ci.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/upstream-dev-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upstream-dev-ci.yaml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/regionmask/regionmask/upstream-dev-ci.yaml/main?enable=pin","Warn: pipCommand not pinned by hash: ci/install-upstream-wheels.sh:19","Warn: pipCommand not pinned by hash: ci/install-upstream-wheels.sh:29","Warn: pipCommand not pinned by hash: ci/install-upstream-wheels.sh:37","Warn: pipCommand not pinned by hash: ci/install-upstream-wheels.sh:38","Warn: pipCommand not pinned by hash: ci/install-upstream-wheels.sh:39","Warn: pipCommand not pinned by hash: .github/workflows/pypi-release.yaml:25","Warn: pipCommand not pinned by hash: .github/workflows/pypi-release.yaml:26","Warn: pipCommand not pinned by hash: .github/workflows/pypi-release.yaml:69","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   7 third-party GitHubAction dependencies pinned","Info:   1 out of   9 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/pypi-release.yaml:73"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T01:42:01.693Z","repository_id":39570043,"created_at":"2025-08-23T01:42:01.693Z","updated_at":"2025-08-23T01:42:01.693Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333500,"owners_count":26312845,"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-10-21T02:00:06.614Z","response_time":58,"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":["netcdf","python","rasterize","scientific-computing","spatial","xarray"],"created_at":"2025-10-21T20:55:57.294Z","updated_at":"2025-10-21T20:55:58.050Z","avatar_url":"https://github.com/regionmask.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![regionmask logo](docs/source/logo/logo.png)\n\n# create *masks* of geospatial *regions* for arbitrary grids\n\n[![CI Status](https://github.com/regionmask/regionmask/workflows/CI/badge.svg?branch=main)](https://github.com/regionmask/regionmask/actions?query=workflow%3ACI)\n[![Code Coverage Badge](https://codecov.io/gh/regionmask/regionmask/branch/main/graph/badge.svg)](https://codecov.io/gh/regionmask/regionmask)\n[![Documentation Status](https://readthedocs.org/projects/regionmask/badge/?version=stable)](https://regionmask.readthedocs.io/en/stable/?badge=stable)\n[![PyPi Badge](https://img.shields.io/pypi/v/regionmask.svg)](https://pypi.python.org/pypi/regionmask/)\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/regionmask/badges/version.svg)](https://anaconda.org/conda-forge/regionmask)\n[![zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10849860.svg)](https://doi.org/10.5281/zenodo.10849860)\n\n\nWhen working with gridded data such as climate model output or reanalysis data it is\noften important to create regional averages, e.g., over countries, continents or\nregions defined in the literature. To do so we need to know for each grid point to which\nregion it belongs to.\n\n**regionmask** is a python package that:\n\n- can be used to create *masks* of (geo)spatial *regions* for arbitrary (longitude and latitude) grids. These masks indicate which region a gridpoint belongs to and can then be used to aggregate gridded data over the regions. The masks come in three variants:\n  - 2D integer masks\n  - 3D boolean masks\n  - 3D approximate fractional masks\n- takes great care to create consistent masks for\n  - region edges and interiors\n  - overlapping regions\n- contains a number of defined regions, including:\n  - countries\n  - landmasks\n  - regions used in the scientific literature\n- can plot figures of these regions\n- supports using arbitrary existing or user-defined region definitions:\n  - regions defined as shapefiles can be accessed via geopandas\n  - user-defined regions can be created via numpy or shapely\n\n## Documentation\n\nLearn more about regionmask in its official documentation at https://regionmask.readthedocs.io\n\n## Get in touch\n\nDon't hesitate to ask usage questions, report bugs, suggest features or view the source\ncode on GitHub under [regionmask/regionmask](https://github.com/regionmask/regionmask).\n\n## License\n\nregionmask is published under a MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregionmask%2Fregionmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregionmask%2Fregionmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregionmask%2Fregionmask/lists"}