gplates_ws_proxy package
Submodules
gplates_ws_proxy.coastlines module
- gwspy.coastlines.get_paleo_coastlines(time: float, model='MULLER2022', format='geojson', facecolor='lime', edgecolor='none', alpha: float = 0.5, extent=(-180, 180, -90, 90), wrap: bool = True, central_meridian: float = 0.0, anchor_plate_id: int = 0, min_area: float = None)[source]
Get paleo-coastlines
By default, the polygons are wrapped along (180/-180). If you would like to wrap them at other locations, be careful that some plotting packages might not work well with them.
- Parameters:
time – the input paleo age
model – the name of rotation model
format – the return data format, such as geojson, shapely, png
facecolor – face color – only for png format
edgecolor – edge color – only for png format
alpha – alpha – only for png format
extent – (left, right, bottom, top) – only for png format
anchor_plate_id – anchor plate id
central_meridian – central meridian
wrap – flag to indicate if wrap the polygons along dateline
min_area – only returns polygons with a larger area
- Returns:
paleo-coastlines
- Return type:
geojson
gplates_ws_proxy.gplates module
gplates_ws_proxy.plate_model module
- class gwspy.plate_model.PlateModel(name='MULLER2019')[source]
Bases:
object
- get_coastlines(time: float, format='geojson', facecolor='lime', edgecolor='none', alpha: float = 0.5, extent=(-180, 180, -90, 90), wrap: bool = True, central_meridian: float = 0.0, anchor_plate_id: int = 0, min_area: float | None = None)[source]
- gwspy.plate_model.reconstruct_shapely_points(model: PlateModel, points: list[Point], time: float, pids: list[int] = []) list[Point] [source]
reconstruct a list of shapely points to {time}Ma