{"id":20395096,"url":"https://github.com/uba/cmap2png","last_synced_at":"2025-09-17T21:55:29.393Z","repository":{"id":166672539,"uuid":"252553357","full_name":"uba/cmap2png","owner":"uba","description":"Useful script to convert a color map definition to PNG image file.","archived":false,"fork":false,"pushed_at":"2024-03-14T15:05:07.000Z","size":139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T00:45:55.389Z","etag":null,"topics":["colormap","converter","cpt","data-science","data-visualization","matplotlib","plot","png","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/uba.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}},"created_at":"2020-04-02T19:57:42.000Z","updated_at":"2024-03-07T18:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcb631e2-39d7-401f-aba2-9fb2b7deb53c","html_url":"https://github.com/uba/cmap2png","commit_stats":null,"previous_names":["uba/cmap2png"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uba/cmap2png","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fcmap2png","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fcmap2png/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fcmap2png/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fcmap2png/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uba","download_url":"https://codeload.github.com/uba/cmap2png/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uba%2Fcmap2png/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275672967,"owners_count":25507467,"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-09-17T02:00:09.119Z","response_time":84,"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":["colormap","converter","cpt","data-science","data-visualization","matplotlib","plot","png","python"],"created_at":"2024-11-15T03:55:21.473Z","updated_at":"2025-09-17T21:55:29.372Z","avatar_url":"https://github.com/uba.png","language":"Python","readme":"# cmap2png\nUseful script to convert a color map definition to PNG image file.\n\n## Usage\n```\ncmap2png.py [-h] cmapType cmapId min max tick label output\n\npositional arguments:\n  cmapType    Colormap type: [cpt, h2g or matplotlib]\n  cmapId      Colormap identifier or path to colormap file\n  min         Legend minimum value\n  max         Legend maximum value\n  tick        Legend tick frequency\n  label       Legend label\n  output      Result output path\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n \n## Examples\n```bash\ncmap2png.py matplotlib Greys -55.0 72.0 10.0 \"Brightness Temperature ($^{\\circ}$C)\" legend-celsius-en.png\n```\n```bash\ncmap2png.py cpt WVCOLOR35.cpt -100.0 100.0 20.0 \"My awesome label\" legend.png\n```\n\n## Build-All                                                  \n\n![](legends/goes-ch01-ref-pt-br.png)\n\n![](legends/goes-ch02-ref-pt-br.png)\n\n![](legends/goes-ch03-ref-pt-br.png)\n\n![](legends/goes-ch04-ref-pt-br.png)\n\n![](legends/goes-ch05-ref-pt-br.png)\n\n![](legends/goes-ch06-ref-pt-br.png)\n\n![](legends/goes-ch07-celsius-pt-br.png)\n\n![](legends/goes-ch08-celsius-pt-br.png)\n\n![](legends/goes-ch09-celsius-pt-br.png)\n\n![](legends/goes-ch10-celsius-pt-br.png)\n\n![](legends/goes-ch11-celsius-pt-br.png)\n\n![](legends/goes-ch12-celsius-pt-br.png)\n\n![](legends/goes-ch13-celsius-pt-br.png)\n\n![](legends/goes-ch14-celsius-pt-br.png)\n\n![](legends/goes-ch15-celsius-pt-br.png)\n\n![](legends/goes-ch16-celsius-pt-br.png)\n\n![](legends/goes-ch08-WVCOLOR35-celsius-pt-br.png) \n\n![](legends/goes-ch09-WVCOLOR35-celsius-pt-br.png)\n\n![](legends/goes-ch10-WVCOLOR35-celsius-pt-br.png)\n\n![](legends/goes-ch13-IR4AVHRR6-celsius-pt-br.png)\n\n![](legends/goes-ch13-dsa-celsius-pt-br.png)\n\n![](legends/goes-aod-pt-br.png)\n\n![](legends/goes-rrqpef-pt-br.png)\n\n![](legends/goes-sstf-celsius-pt-br.png)\n\n![](legends/radar-pt-br.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuba%2Fcmap2png","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuba%2Fcmap2png","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuba%2Fcmap2png/lists"}