{"id":15547272,"url":"https://github.com/davemlz/ee-pokepalettes","last_synced_at":"2025-06-19T23:33:30.657Z","repository":{"id":146736635,"uuid":"400633916","full_name":"davemlz/ee-pokepalettes","owner":"davemlz","description":"Pokemon Color Palettes for the Google Earth Engine JavaScript API (Code Editor)","archived":false,"fork":false,"pushed_at":"2021-08-30T18:51:09.000Z","size":16600,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T18:47:24.479Z","etag":null,"topics":["earth-engine","geographic-information-systems","gis","google-earth-engine","javascript","palette","palettes","pokemon","python","raster","remote-sensing","satellite-imagery"],"latest_commit_sha":null,"homepage":"https://github.com/davemlz/ee-pokepalettes","language":"JavaScript","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/davemlz.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}},"created_at":"2021-08-27T21:00:10.000Z","updated_at":"2024-05-27T20:36:19.000Z","dependencies_parsed_at":"2023-09-24T16:58:52.351Z","dependency_job_id":null,"html_url":"https://github.com/davemlz/ee-pokepalettes","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"4790cd94edf9ebb0463569013a69128b74769038"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/davemlz/ee-pokepalettes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2Fee-pokepalettes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2Fee-pokepalettes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2Fee-pokepalettes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2Fee-pokepalettes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davemlz","download_url":"https://codeload.github.com/davemlz/ee-pokepalettes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2Fee-pokepalettes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260850975,"owners_count":23072545,"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":["earth-engine","geographic-information-systems","gis","google-earth-engine","javascript","palette","palettes","pokemon","python","raster","remote-sensing","satellite-imagery"],"created_at":"2024-10-02T13:08:22.807Z","updated_at":"2025-06-19T23:33:25.632Z","avatar_url":"https://github.com/davemlz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](images/pokepalettes-logo.png)\n\n**Pokemon Color Palettes for the Google Earth Engine JavaScript API (Code Editor)**\n\n[![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Twitter Badge](https://img.shields.io/twitter/follow/dmlmont?style=social)](https://twitter.com/dmlmont)\n\n**Table of Contents**\n\n- [Overview](#Overview)\n- [How does it work?](#How-does-it-work?)\n- [Poke-examples!](#Poke-examples!)\n- [License](#License)\n\n## Overview\n\n[Google Earth Engine](https://earthengine.google.com/) (GEE) is a cloud-based service for geospatial processing of vector and raster data. The Earth Engine platform has a [JavaScript and a Python API](https://developers.google.com/earth-engine/guides) with different methods to process geospatial objects. Google Earth Engine also provides a [HUGE PETABYTE-SCALE CATALOG](https://developers.google.com/earth-engine/datasets/) of raster and vector data that users can process online. The ee-pokepalettes is a just-for-fun module that allows you to use [Pokemon Color Palettes](https://pokepalettes.com/) to plot your data in GEE!\n\nCheck the usage of ee-pokepalettes here:\n\n```javascript\nvar poke = require(\"users/dmlmont/pokepalettes:pokepalettes\");\n\nvar ndvi = ee.ImageCollection('MODIS/006/MOD13A2')\n  .filter(ee.Filter.date('2018-01-01', '2019-01-01'))\n  .median()\n  .divide(10000)\n  .select(\"NDVI\");\n\nvar vis = {\n  min: 0.0,\n  max: 1.0,\n  // METAPOD!!!!!!\n  palette: poke.palettes.metapod,\n};\n\nMap.addLayer(ndvi, vis, 'NDVI');\n\n// ADD A COLORBAR!\nprint(poke.colorbar(\"NDVI\",vis.min,vis.max,vis.palette))\n```\n\n## How does it work?\n\nThe ee-pokepalettes module can be accepted [HERE](https://code.earthengine.google.com/?accept_repo=users/dmlmont/pokepalettes). Once accepted, it can be required by running the following line in the GEE JavaScript Code Editor:\n\n```javascript\nvar poke = require(\"users/dmlmont/pokepalettes:pokepalettes\");\n```\n\nThe complete list of pokemon color palettes can be accessed by using the palettes attribute:\n\n```javascript\nprint(poke.palettes)\n```\n\nA palette can be accessed using dot notation:\n\n```javascript\nprint(poke.palettes.pikachu)\n```\n\nOr by using a key:\n\n```javascript\nprint(poke.palettes[\"mr. mime\"])\n```\n\nCreate a color bar using `colorbar(title,minValue,maxValue,palette)`:\n\n```javascript\nprint(poke.colorbar(\"My title\",0,100,poke.palettes.charmander))\n```\n\n## Poke-examples!\n\n### Geodude DEM! [![Code Editor](https://img.shields.io/badge/-Open%20in%20Code%20Editor-white?style=for-the-badge\u0026logo=googleearth)](https://code.earthengine.google.com/da89aa6ffb407b0f80c83edc99ca3b8a)\n\n![geodude](images/geodude.png)\n\n### Charizard LST! [![Code Editor](https://img.shields.io/badge/-Open%20in%20Code%20Editor-white?style=for-the-badge\u0026logo=googleearth)](https://code.earthengine.google.com/fce3bd4518ac99229d4e9dd51911fd9b)\n\n![charizard](images/charizard.png)\n\n### Metapod NDVI! [![Code Editor](https://img.shields.io/badge/-Open%20in%20Code%20Editor-white?style=for-the-badge\u0026logo=googleearth)](https://code.earthengine.google.com/593e7ef08770341e920f4bed8fbcc058)\n\n![metapod](images/metapod.png)\n\n### Kingdra Precipitation! [![Code Editor](https://img.shields.io/badge/-Open%20in%20Code%20Editor-white?style=for-the-badge\u0026logo=googleearth)](https://code.earthengine.google.com/1824d1f55e0b6ab59d66735a3da30e7a)\n\n![kingdra](images/kingdra.png)\n\n## License\n\nThe project is licensed under the MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemlz%2Fee-pokepalettes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavemlz%2Fee-pokepalettes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemlz%2Fee-pokepalettes/lists"}