Customized plotting for different variables.
plot_as_png(raster_obj, filename, name, year, options, admin0)
| raster_obj | A |
|---|---|
| filename | A string filename for the png output. |
| name | The variable and year, with an underscore between. Has to be this. |
| year | The numeric year. |
| options | A list of options for png width, height, and resolution. |
| admin0 | A shapefile with admin0 boundaries. |