diff options
Diffstat (limited to 'docs/plot')
| -rw-r--r-- | docs/plot/plot.py | 6 | ||||
| -rw-r--r-- | docs/plot/plotdefs.json | 58 |
2 files changed, 63 insertions, 1 deletions
diff --git a/docs/plot/plot.py b/docs/plot/plot.py index a4f330f6..ec263fe4 100644 --- a/docs/plot/plot.py +++ b/docs/plot/plot.py @@ -248,7 +248,11 @@ def plotproj(plotdef, data, outdir): (plotdef['lonmax'], plotdef['latmax']), (plotdef['lonmax'], plotdef['latmin']), ]) - temp_pol = temp_pol.intersection(box) + try: + temp_pol = temp_pol.intersection(box) + except Exception as e: + continue + if plotdef['type'] == 'poly': if isinstance(temp_pol, MultiPolygon): diff --git a/docs/plot/plotdefs.json b/docs/plot/plotdefs.json index bb0ebbe7..9a2f4836 100644 --- a/docs/plot/plotdefs.json +++ b/docs/plot/plotdefs.json @@ -1,5 +1,41 @@ [ { + "filename": "adams_hemi.png", + "latmax": 90, + "latmin": -90, + "lonmax": 180, + "lonmin": -180, + "name": "adams_hemi", + "projstring": "+proj=adams_hemi", + "res": "low", + "type": "poly" + + }, + { + "filename": "adams_ws1.png", + "latmax": 90, + "latmin": -90, + "lonmax": 180, + "lonmin": -180, + "name": "adams_ws1", + "projstring": "+proj=adams_ws1", + "res": "low", + "type": "poly" + + }, + { + "filename": "adams_ws2.png", + "latmax": 90, + "latmin": -90, + "lonmax": 180, + "lonmin": -180, + "name": "adams_ws2", + "projstring": "+proj=adams_ws2", + "res": "low", + "type": "poly" + + }, + { "filename": "aea.png", "latmax": 90, "latmin": -90, @@ -475,6 +511,17 @@ "type": "poly" }, { + "filename": "guyou.png", + "latmax": 90, + "latmin": -90, + "lonmax": 180, + "lonmin": -180, + "name": "guyou", + "projstring": "+proj=guyou", + "res": "low", + "type": "poly" + }, + { "filename": "hammer.png", "latmax": 90, "latmin": -90, @@ -993,6 +1040,17 @@ "type": "poly" }, { + "filename": "peirce_q.png", + "latmax": 90, + "latmin": -90, + "lonmax": 180, + "lonmin": -180, + "name": "peirce_q", + "projstring": "+proj=peirce_q", + "res": "low", + "type": "poly" + }, + { "filename": "poly.png", "latmax": 90, "latmin": -90, |
