All Questions
Tagged with matplotlib-basemap interpolation
14 questions
0
votes
0
answers
139
views
Interpolating temperature data on geographical map using python, not giving good results on the edges
I am trying to plot some correlation data about temperature on a stereographic map of the north pole. the data is from different stations in this region.
I am using:
from scipy.interpolate : griddata ...
3
votes
1
answer
5k
views
interpolated map using points python
I need to obtain a colour map using interpolation of altitude records. I have a set of 34 points located along a region and in each point I have altitude record. I tried the code below, but it results ...
2
votes
1
answer
667
views
Data points falling outside the meshgrid being interpolated over, while the meshgrid certainly covers those points
I am trying to interpolate sparse data over a meshgrid, but am observing some rather odd behavior. The white dots are precisely where I have values, and I am relying on the linear interpolation ...
1
vote
0
answers
200
views
imshow basemap doesn't fit in to a map
I am very new on python. I need to plot the CO2 map over European domain using netcdf files from daily global cams dataset.
1-I can plot global domain correctly without any interpolations. However, ...
1
vote
0
answers
86
views
How can I fix the error of interpolating 2D grid data in Python?
I want to interpolate data near the coastline, so the blank space will be filled. But the result is not as my expectation. I am new to Python.
lat = nc.variables['latitude'][:]
lon = nc.variables['...
2
votes
3
answers
2k
views
Basemap interpolation alternative - regridding data
I'm moving from basemap to cartopy given basemap is going to be phased out. I've previously used the basemap.interp functionality to interpolate data, e.g. say I have data at 1 degree resolution (...
2
votes
2
answers
2k
views
Trying to place irregularly spaced lat/lon data on regularly spaced grid
I have some satellite data I am trying to interpolate onto a 0.25 deg x 0.25 degree grid.
I am trying to use scipy.intepolate.griddata, but I am getting unexpected results.
I only need the ...
0
votes
1
answer
2k
views
Interpolate data to lat/lon grid in Python
I am having trouble coming up with the most efficient way to convert satellite data on a non-regular grid to a global 0.25 x 0.25 deg grid.
I have a 2D array of satellite data, and two corresponding ...
1
vote
1
answer
970
views
Plotting masked array that has been gridded using griddata
I have a 2D array of satellite data, and two corresponding 2D arrays giving the latitude and longitude of each pixel.
The data array is a masked array.
When I plot it up using pcolormesh, it looks ...
1
vote
1
answer
89
views
How to overplot concatenated data from different Lon/Lat frames on a single map (python2.7)?
This is my first request here. I'm not very familiar with Python and I'll do my best to be understood.(Native French ;))
I'm currently working on several NetCDF files containing altimetric data.
For ...
24
votes
1
answer
40k
views
How to smooth by interpolation when using pcolormesh?
I have a basemap of the world, and it's filled with data (lintrends_mean) using pcolormesh. Because the data has relatively large grid boxes, I'd like to smooth the plot. However, I can't figure out ...
1
vote
1
answer
393
views
Error while regridding 3-D satellite data in Python with Basemap, 2-D works
I have the following issue:
I have cloud cover datasets from different satellites, that I want to regrid onto the grid of a climate model to make comparisons between the model output and the observed ...
4
votes
2
answers
4k
views
Python Interpolation with matplotlib/basemap
I am rather new to programming and am having a very hard time understanding interpolation. Every single source I can find that attempts to explain it is extremely cryptic (especially the package ...
5
votes
1
answer
4k
views
Scipy map_coordinates bilinear interpolation compared to interp and IDL interpolate
I'm in the process of rewriting a coworkers IDL code into python and am coming up with some differences that I'm confused about. According to other SO questions and mailing list threads I've found if ...