Questions tagged [pyresample]

Pyresample is an LGPL-licensed Python library for reprojecting geospatial image data. It is often used in conjunction with the Earth observation package, and both packages are part of the wider pytroll framework, that also include trollimage, pygac, and many others.

8 questions
3
votes
1 answer

understanding pyresample to regrid irregular grid data to a regular grid

I need to regrid data on a irregular grid (lambert conical) to a regular grid. I think pyresample is my best bet. Infact my original lat,lon are not 1D (which seems to be needed to use basemap.interp or scipy.interpolate.griddata). I found this SO's…
claude
  • 549
  • 8
  • 25
3
votes
1 answer

Plotting satellite swath data using pyresample

I am trying to plot a full swath orbit of ASCAT ocean wind vectors and its wvc quality flags using the pyresample module. A link to ASCAT the netcdf files can be found here: ftp://podaac-ftp.jpl.nasa.gov/allData/ascat/preview/L2/metop_a/12km/ From…
Jason
  • 181
  • 2
  • 14
3
votes
1 answer

Differences in projecting satellite images with cartopy and pyresample

I have written a python script to project and overlay geostationary satellite images from the university of Dundee so the resulting image can be used for xplanet to render the surface of the earth. The source code of the tool can be found at…
jherb
  • 392
  • 2
  • 11
1
vote
0 answers

Plotting Sentinel-3 Scene with cartopy

I'm following along the Pyresample example for plotting a Sentinel-3 Scene along with coastline. However, it seems as if pyresample.kd_tree.resample_nearest and pyresample.save_quicklook expect a 2D array as data, rather than the 3D (3-band)…
sluque
  • 495
  • 4
  • 12
0
votes
1 answer

Resample and plot satpy scene data from geos to mercator using pyresample

I have a scene object from eumetsat satellite. My area of interest: (xmin_corner, ymin_corner, xmax_corner, ymax_corner) [40,-10,105,40] degrees looks like this area definition looks like this: Area ID: msg_seviri_unknown_3km Description: MSG…
Rex
  • 117
  • 8
0
votes
0 answers

Python Pyresample - Understanding the Choice of Radius of Influence

I'm regridding an irregular data (MODIS 10kmx10km data) to a regular grid of 0.1km x 0.1km. I'm using the pyresample code but I'm uncertain about which value should I use for the radius_of_influence parameter. Understand from the pyresample…
LEC
  • 1
  • 1
0
votes
0 answers

Difference between geotransform and get_lonlats() from pyresample

I am having an issue with geolocation of TIF and netCDF files. First, I convert swath data to grid data with the ECOSTRESS_swath2grid.py script proposed here: https://github.com/spestana/ECOSTRESS_swath2grid. In the netCDF saving file method, I…
lopoly
  • 1
0
votes
3 answers

Plotting geographic data using coordinates

While it's possible to make a map plot by either: crs = area_def.to_cartopy_crs() ax = plt.axes(projection=crs) ax.background_img(name='BM') plt.imshow(result, transform=crs, extent=crs.bounds, origin='upper', cmap='RdBu_r') or sst =…