We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e679dcf commit be4378eCopy full SHA for be4378e
1 file changed
src/polartoolkit/maps.py
@@ -778,10 +778,12 @@ def add_modis(
778
colormap to use for MODIS imagery, by default "grayC"
779
"""
780
781
- if self.epsg == "3413" and version is None:
782
- version = "500m"
783
- elif self.epsg == "3031" and version is None:
784
- version = "750m"
+ if self.epsg == "3413":
+ if version is None:
+ version = "500m"
+ elif self.epsg == "3031":
785
786
+ version = "750m"
787
else:
788
msg = "`add_modis` only supports EPSG:3031 and EPSG:3413."
789
raise NotImplementedError(msg)
0 commit comments