Skip to main content

Questions tagged [cartopy]

A library providing cartographic tools for python.

0 votes
0 answers
27 views

Is there a way of calculating the area covered by data feature in a given map projection with cartopy? For instance, consider this simple data plotted on a Nearsideperspective projection. How can I ...
Robbie Mallett's user avatar
1 vote
1 answer
75 views

I'm trying to make an RGB image from Himawari-9 NetCDF using the Daytime Convection Recipe through Python centered in one part of the Philippines. I have downloaded the individual near-IR and IR bands ...
CGHA's user avatar
  • 13
1 vote
2 answers
577 views

I just bought a new computer and want to read a geotiff and plot it in cartopy. I'm typing: conda create --name my_env conda activate my_env conda install numpy pandas jupyter cartopy xarray ...
Robbie Mallett's user avatar
3 votes
1 answer
2k views

I have a map I have made using python, matplotlib, cartopy and shapely. It has a coast, county borders, lakes and rivers. I also shade in districts, in the form of polygons, on the map in order to ...
Baz's user avatar
  • 85
1 vote
1 answer
381 views

I used to plot maps with Cartopy, which actually used to work fine until now. Recently, when adding the maps features to a plot (es. coastlines etc) I get this error: "ValueError: Incomplete ...
Noelle_L's user avatar
1 vote
1 answer
154 views

I have some data as a pandas DataFrame with values associated with longitude. I have plotted it as stacked bars like this: A subset of the data as an example via df.to_dict(): {'Commodity driven ...
Jan Pisl's user avatar
  • 768
1 vote
0 answers
150 views

I want to plot data in a matrix, with two other matrices with coordinates, with a sinusoidal projection, in Python. I read data and coordinates from HDF5 or NetCDF files in the form of numpy arrays. ...
Ferny's user avatar
  • 21
2 votes
0 answers
398 views

I'm using the South Polar Stereographic projection to create a map of Antarctica. I've been able to create the gridlines using Cartopy, but the labels for the gridlines are not circular around the map,...
Rony Golder's user avatar
1 vote
2 answers
764 views

I am trying to make a figure using a shapefile and cartopy. When longitudes are in the range [-180,180] everything is working fine When longitudes are in the range [0, 360] the shapefile is not ...
Vincent Poitras's user avatar
0 votes
1 answer
194 views

I'd really like to show the satellite zenith angle as seen from an observer on the ground. I can calculate everything just fine and get a graph that is useful and passable. import numpy as np import ...
K. Shores's user avatar
  • 101
0 votes
1 answer
190 views

I have been trying for some time to plot shapefile polygons on a global map using Cartopy library. From this post, I have been trying to plot a continuous variable from an attribute called "ShIdx&...
GoldenTomato's user avatar
1 vote
0 answers
400 views

I am trying to plot L2 Sea Surface Temperature data and I want to plot it over the globe in a geostationary projection. I tried the following code: import h5py import sys import numpy as np import ...
The Emerging Star's user avatar
0 votes
1 answer
167 views

I am trying to make a yearly timelapse of ERA5 Daily aggregates (precipitation) using cartopy but the output gif and images generated show the plots of single year. I am trying to extract the images ...
Muhammad Iqbal's user avatar
0 votes
1 answer
490 views

This is the code I have fname = r"C:\Users\Kevin Abbot\Documents\W&OD Trail.shp" shape_feature = ShapelyFeature(Reader(fname).geometries(), ccrs....
user207752's user avatar
2 votes
1 answer
990 views

I would like to plot from the following NetCDF file (R90C_20P_MSG_201403250100.nc) the 2d array RFnet as function of the 2d arrays LONGITUDE and LATITUDE. Download of NetCDF file: https://gigamove....
mrz's user avatar
  • 131

15 30 50 per page