Commit ff2f595e authored by Eva Schiffer's avatar Eva Schiffer
Browse files

nevermind, setting the central longitude breaks cartopy in some cases

parent 9d56ad50
......@@ -227,11 +227,11 @@ def create_cartopy_proj_objects (extents, out_proj4_str=None,) :
# lat_top = extents[3]
lon_mid = calculate_lon_mid(lon_left, lon_right) # handle lon wraparound case
# lat_mid = (lat_top + lat_bottom) / 2.
LOG.debug("Using central longitude: " + str(lon_mid))
print("Using central longitude: " + str(lon_mid))
# for now just use PlateCarree, in
# FUTURE we will want to pick projections based on our input so we could use x and y when desired
input_proj_obj = crs.PlateCarree(central_longitude=lon_mid,)
input_proj_obj = crs.PlateCarree( ) #central_longitude=lon_mid,)
# FUTURE, we will probably want different projections; select based on the lat/lon range?
# for reference, here's what cartopy supports: https://scitools.org.uk/cartopy/docs/v0.15/crs/projections.html#cartopy-projections
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment