diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index a5cb2e8b68..ce23fe915b 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -6,7 +6,7 @@ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal +level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation. Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Our Responsibilities diff --git a/docs/notebooks/00_geemap_key_features.ipynb b/docs/notebooks/00_geemap_key_features.ipynb index 26cb0deafa..2f69d4d1d4 100644 --- a/docs/notebooks/00_geemap_key_features.ipynb +++ b/docs/notebooks/00_geemap_key_features.ipynb @@ -687,7 +687,7 @@ "\n", "You can simply copy and paste your GEE JavaScripts into a code block wrapped with trip quotes and pass it to a variable. \n", "\n", - "For example, you can grap GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." + "For example, you can grab GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." ] }, { diff --git a/docs/notebooks/15_convert_js_to_py.ipynb b/docs/notebooks/15_convert_js_to_py.ipynb index b183c1232e..367624eab6 100644 --- a/docs/notebooks/15_convert_js_to_py.ipynb +++ b/docs/notebooks/15_convert_js_to_py.ipynb @@ -48,7 +48,7 @@ "source": [ "You can simply copy and paste your GEE JavaScripts into a code block wrapped with trip quotes and pass it to a variable. \n", "\n", - "For example, you can grap GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." + "For example, you can grab GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." ] }, { diff --git a/docs/notebooks/33_accuracy_assessment.ipynb b/docs/notebooks/33_accuracy_assessment.ipynb index e1e14ceedf..79c083dda6 100644 --- a/docs/notebooks/33_accuracy_assessment.ipynb +++ b/docs/notebooks/33_accuracy_assessment.ipynb @@ -453,7 +453,7 @@ "result = image.select(bands).classify(classifier)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/docs/workshops/GEE_Workshop_2021.ipynb b/docs/workshops/GEE_Workshop_2021.ipynb index 6f050ac7d0..2ae3ca1e93 100644 --- a/docs/workshops/GEE_Workshop_2021.ipynb +++ b/docs/workshops/GEE_Workshop_2021.ipynb @@ -1623,7 +1623,7 @@ "result = image.select(bands).classify(trained)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/docs/workshops/GeoPython_2021.ipynb b/docs/workshops/GeoPython_2021.ipynb index b8e39c6c22..386af37c06 100644 --- a/docs/workshops/GeoPython_2021.ipynb +++ b/docs/workshops/GeoPython_2021.ipynb @@ -1585,7 +1585,7 @@ "result = image.select(bands).classify(trained)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/examples/notebooks/00_geemap_key_features.ipynb b/examples/notebooks/00_geemap_key_features.ipynb index 26cb0deafa..2f69d4d1d4 100644 --- a/examples/notebooks/00_geemap_key_features.ipynb +++ b/examples/notebooks/00_geemap_key_features.ipynb @@ -687,7 +687,7 @@ "\n", "You can simply copy and paste your GEE JavaScripts into a code block wrapped with trip quotes and pass it to a variable. \n", "\n", - "For example, you can grap GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." + "For example, you can grab GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." ] }, { diff --git a/examples/notebooks/15_convert_js_to_py.ipynb b/examples/notebooks/15_convert_js_to_py.ipynb index b183c1232e..367624eab6 100644 --- a/examples/notebooks/15_convert_js_to_py.ipynb +++ b/examples/notebooks/15_convert_js_to_py.ipynb @@ -48,7 +48,7 @@ "source": [ "You can simply copy and paste your GEE JavaScripts into a code block wrapped with trip quotes and pass it to a variable. \n", "\n", - "For example, you can grap GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." + "For example, you can grab GEE JavaScripts from [GEE Documentation](https://developers.google.com/earth-engine/image_visualization)." ] }, { diff --git a/examples/notebooks/33_accuracy_assessment.ipynb b/examples/notebooks/33_accuracy_assessment.ipynb index e1e14ceedf..79c083dda6 100644 --- a/examples/notebooks/33_accuracy_assessment.ipynb +++ b/examples/notebooks/33_accuracy_assessment.ipynb @@ -453,7 +453,7 @@ "result = image.select(bands).classify(classifier)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/examples/workshops/GEE_Workshop_2021.ipynb b/examples/workshops/GEE_Workshop_2021.ipynb index 6f050ac7d0..2ae3ca1e93 100644 --- a/examples/workshops/GEE_Workshop_2021.ipynb +++ b/examples/workshops/GEE_Workshop_2021.ipynb @@ -1623,7 +1623,7 @@ "result = image.select(bands).classify(trained)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/examples/workshops/GeoPython_2021.ipynb b/examples/workshops/GeoPython_2021.ipynb index b8e39c6c22..386af37c06 100644 --- a/examples/workshops/GeoPython_2021.ipynb +++ b/examples/workshops/GeoPython_2021.ipynb @@ -1585,7 +1585,7 @@ "result = image.select(bands).classify(trained)\n", "\n", "# # Display the clusters with random colors.\n", - "Map.addLayer(result.randomVisualizer(), {}, \"classfied\")\n", + "Map.addLayer(result.randomVisualizer(), {}, \"classified\")\n", "Map" ] }, diff --git a/geemap/cartoee.py b/geemap/cartoee.py index fd2db79523..88fef00e3a 100644 --- a/geemap/cartoee.py +++ b/geemap/cartoee.py @@ -848,7 +848,7 @@ def _add_bbox(ax, list_of_patches, paddings={}, bbox_kwargs={}): xcoords.append(dx) ycoords.append(ymean) - # Convertin to arrays: + # Converting to arrays: xcoords = np.asanyarray(xcoords) ycoords = np.asanyarray(ycoords) diff --git a/pyproject-codespell.precommit-toml b/pyproject-codespell.precommit-toml index cfde1a6550..8bc5ee8e8d 100644 --- a/pyproject-codespell.precommit-toml +++ b/pyproject-codespell.precommit-toml @@ -1,3 +1,3 @@ [tool.codespell] -ignore-words-list = "aci,acount,acounts,fallow,ges,hart,hist,nd,ned,ois,wqs,watermask,tre" +ignore-words-list = "aci,acount,acounts,fallow,ges,hart,hist,nd,ned,ois,wqs,watermask,tre,assertIn" skip="*.csv,*.geojson,*.json,*.yml*.js,*.html,*cff,*.pdf"