Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
101 views

I have a time series data with 260 time steps and 82k point observations at each time step. The points do not follow a regular gridded pattern, but the locations remain constant throughout the time ...
PPR's user avatar
  • 447
1 vote
1 answer
136 views

I cannot find in the documentation how SciPy's RegularGridInterpolator handles duplicate values within the grid. For instance, if my points are a regular grid np.meshgrid of x and y values and my ...
Tristan Schuler's user avatar
0 votes
1 answer
229 views

I received a code to work on and it has a QR decomposition subroutine as shown below. When checking this QR decomposition using the error calculation I added at the end of it, I found the error ...
Jesse Feng's user avatar
3 votes
1 answer
145 views

I have tabulated data, containing fluid properties, that I want to use for interpolation. The grid itself is not regular on some points, so I want to use scatteredInterpolant for interpolation. ...
ManyQuestions's user avatar
1 vote
0 answers
666 views

I would like to interpolate the missing values (set to 0) within my SpatRaster object. I created a SpatRaster object and assigned values to specific cells depending on cell coordinates: raster_layer &...
user23553055's user avatar
0 votes
0 answers
56 views

I have the a set of points and I pass a curve through them, using scipy CubeSpline, I really would like to know how can I add padding from outside, so that the curve is fitting the flow of the points ...
Josh's user avatar
  • 314
1 vote
0 answers
259 views

I am trying to plot the interpolation maps in Python for the point rainfall data. I have given the shapefile of the study area as my extent boundary for the interpolation, however, the code only gives ...
feyizalbeyiq's user avatar
0 votes
1 answer
444 views

I have an sf dataframe with multiple polygons in R (each row is a square in a slightly different location with a different value associated with it). There are also some gaps between the polygons. I ...
kseagull's user avatar
0 votes
1 answer
269 views

I am using Scipy to interpolate several fields that are on a large irregular grid onto a regular one. I have precomputed the Delaunay triangulation of the grid and pickled it. Constructing the first ...
Garrett Dreyfus's user avatar
2 votes
2 answers
301 views

I have two polygons, an outer polygon and an inner polygon The inner polygon is a polygon pol1 (red) for a parameter with a value = 10 The outer polygon is a polygon pol2 (blue) for a parameter with ...
jjunju's user avatar
  • 527
1 vote
2 answers
105 views

I'm trying to "expand" a 2D numpy array nadir of points (x,y,z), and fill gaps in space with interpolated points. Where there exist spatial gaps bigger than some tolerance dist, I want to ...
bt3's user avatar
  • 307
0 votes
1 answer
522 views

I am attempting to execute an idw interpolation with gstat but am unable to. text = name,long,lat,waterLevel,elevation,depth EM_01,18.553392,-34.07027,14.4,20.358,63.0 EM_27,18.574777,-34.068709,16....
arkriger's user avatar
  • 254
1 vote
0 answers
122 views

I would like to resize an n-dimensional grid similar to scipy.ndimage.affine_transform. For the stake of simplicity, I describe my problem with the 2-Dimensional case. I need to downsample an image ...
checkThisOut's user avatar
0 votes
1 answer
546 views

I would like to create 3 maps of spatial interpolation of a country (like belgium) using the GADM geopkg data that can be found there : https://gadm.org/download_country.html. The idea would be to ...
RedWest's user avatar
0 votes
1 answer
469 views

I have a 3D volume (black) with each voxel having a known 3D coordinates (x,y,z), and a corresponding intensity value f(x,y,z). Now I like to get a slice (blue) from the 3D volume. All (xq, yq, zq) ...
Nick X Tsui's user avatar
  • 2,922
0 votes
0 answers
133 views

I have a daily frequency data of stock prices with some missing values and I want to interpolate them using the package tempdisagg. Does anyone have an example of interpolation with this package? I ...
Manuel Prado's user avatar
0 votes
1 answer
207 views

I am working to re-aggregate population counts from one administrative level to another. One particular row keeps returning the error "replacement has 4 rows, data has 2". I have tried ...
Pablo Herreros Cantis's user avatar
1 vote
2 answers
107 views

I would be happy for any tips for drawing something resembling contour lines for the growth advancement lines around a fungal fairy ring that advances annually uphill. This is a plot of the records of ...
Christoffer Bugge Harder's user avatar
1 vote
0 answers
301 views

I have a dataset with 132 observations, 1 response variable (Lopend_gemiddelde), and 9 predictors on which I perform three methods: 1) multiple linear regression (MLR), 2) kriging on the residuals (...
Foeke Boersma's user avatar
1 vote
0 answers
521 views

I have a dataset data_sp with 132 observations containing 9 predictors and 1 response variable. I perform a twenty-fold cross validation, using ordinary kriging and universal kriging. The raster ...
Foeke Boersma's user avatar
0 votes
0 answers
685 views

EBK Regression Prediction is ESRI propriety tool for interpolation. But I am looking for some open source solution with same method Empirical Bayesian Kriging. I have 10 location rainfall data. I want ...
sachin jain's user avatar
1 vote
0 answers
61 views

I was able to do an IDW ppp spatial interpolation in respect to a Datum level based on corresponding longitude, latitude coordinates for a grid I've specified. Although I achieve the desired plot, I ...
MichaelHock1's user avatar
0 votes
0 answers
182 views

I have a bumpy matrix A with shape [num_X, num_Y]. The corresponding lattitude and longitude array is A_lat (of size [num_Y,1]) and A_lon (of size [num_X,1]). And the each element of this matrix for ...
Xu Shan's user avatar
  • 325
1 vote
0 answers
227 views

I have temperature data points in different depth intervals with associated lat long values across the study area. I want to make a raster and then interpolate between cells of the raster where there ...
Leandri's user avatar
  • 11
1 vote
1 answer
985 views

I have a dataset with two-dimension lon/lat and I want to calculate the value of one certain point. The ncfile can be download from ftp://ftp.awi.de/sea_ice/product/cryosat2_smos/v204/nh/LATEST/ and ...
Yongwu Xiu's user avatar
0 votes
1 answer
291 views

The raw data is at the state level and I would like to go down to the county level. To do this, I first adjusted the data to county level and then interpolated it. The raw data on state level looks ...
AriWhatElse's user avatar
0 votes
1 answer
338 views

I have a Brain MRI. It is gray scale with 20 slices. I put it into a numpy array with shape (20,256,256). I use scipy.ndimage affine_transform to rotate and resample the array as below. The dark ...
John Henckel's user avatar
  • 11.6k
0 votes
1 answer
942 views

I am trying to implement this paper. I have to try to interpolate the latent code of an autoencoder, as mentioned in the paper. The latent code is the encoded input of an autoencoder. The shape of the ...
Ravish Jha's user avatar
0 votes
1 answer
634 views

This is my first question. I am new to python so please bear with me. I have a shapefile that contains data as given below. ID Data geometry 111 0.1 POINT(X,Y) 112 0.2 POINT(X,Y) 113 0.5 ...
RDK19's user avatar
  • 1
0 votes
0 answers
173 views

I am trying to reproduce the example of Spatial interpolation / prediction using Ensemble Machine Learning for which I need to use the "mlr" package I have installed it and everything is ...
dovat_'s user avatar
  • 1
1 vote
2 answers
437 views

I performed spherical Kriging, but I can't seem to get good output graphs. The coordinates(x, and y) range from around around 51 latitude and around 6.5 as longitude my observations range from -70 to +...
simonericmoon's user avatar
3 votes
1 answer
1k views

I have a CSV file with 140 000 points (rows). Each row consists of: Longitude value. Latitude value. Subsidence value at specific points. I assume that these points are spatially correlated. I want ...
simonericmoon's user avatar
1 vote
0 answers
141 views

I am very new to python and coding. I am trying to make the ice DEM(test5) fit over top of the NZ DEM so that the points line up. The data has different cell sizes. This is what I have so far. All it ...
Liam's user avatar
  • 11
0 votes
1 answer
630 views

I have a django3.1 web application with map using ol6 in which I want to show IDW. I have generated an idw image using python & added to map as an image layer but it does not overlay in accurate ...
Adithya's user avatar
  • 1,907
5 votes
2 answers
1k views

I'm working with Pygrib trying to get surface temperatures for particular lat/lon coordinates using the NBM grib data (available here if it helps). I've been stuck trying to get an index value to use ...
Zach Rieck's user avatar
2 votes
2 answers
8k views

My aim is to interpolate meteorological data from neighboring meteorological stations into the point with exact coordinates. In SciPy docs I found information about multidimensional interpolation ( ...
Misha 's user avatar
  • 41
0 votes
0 answers
99 views

I am trying to approximate a surface from a set of given points in 3D space in sets like [[X1,Y1,Z1],[X2,Y2,Z2],.....] and I found this very nice library called geomdl this approximates the surface ...
Yash Bhambhu's user avatar
0 votes
1 answer
640 views

I have a polygon dataframe: With vertice coordinates: 43740.95 40726.46 43741.36 40720.19 43742.67 40729.28 43743.99 40716.16 43745.52 40730.97 43748.72 40714.19 43748.72 40731....
DigiPath's user avatar
  • 179
0 votes
1 answer
435 views

I am trying to regrid/interpolate within a grid of a certain size, my dataset of irregularly scattered location (lat lon) tied variable values. My data is available as a dataframe with columns marking ...
Learning_datascience's user avatar
0 votes
1 answer
701 views

I am working with scipy.interpolate() and create a map using a methodology similar to the example. So, I need to use the X, Y, Z values from the interpolated surface in another software. How can I ...
Ronny's user avatar
  • 1
0 votes
1 answer
1k views

This is my data : a b c 732018 2.501 95.094 732018 3.001 91.658 732018 3.501 89.164 732018 3.751 88.471 732018 4.001 88.244 732018 4.251 88.53 732018 4.501 89.8 732018 4.751 ...
Chapo's user avatar
  • 2,663
0 votes
0 answers
317 views

I have a dataset with observations and I need to interpolate it over the grid. I used idw function from gstat package. It makes interpolation but leaves some values as NA. I also tried interp funtion ...
Alina Lerner's user avatar
2 votes
1 answer
2k views

I have 500 points with longitude x, latitude y, altitude z, and the value at these points. On the other hand, I have other 200 points than I would like to interpolate, where the latitude, longitude, ...
Francisco Gonzalez's user avatar
0 votes
0 answers
510 views

I have GPS coordinates in a CSV file that I predict it using a regression model, just two columns with longitudes and latitudes that represent a race track. Now I want to plot it on Google Maps to see ...
basilisk's user avatar
  • 1,307
1 vote
0 answers
680 views

I'm trying to interpolate temperatures in a massive body made out of a scintillator called PbWO4. There are 10 outer temperature sensors called 'satellites' which help me refer to the inner ...
samaetti's user avatar
2 votes
1 answer
7k views

I have a spatial 2D domain, say [0,1]×[0,1]. In this domain, there are 6 points where some scalar quantity of interest has been observed (e.g., temperature, mechanical stress, fluid density, etc.). ...
Michael Baudin's user avatar
0 votes
1 answer
198 views

I'm going to create a map of the Papuan/Austronesian language distribution similar to this in R. To do so, I collected the geo-references of languages listed in transnewguinea.org and in the ...
Anti's user avatar
  • 407
2 votes
0 answers
600 views

I have a 1d array (voltage of EEG) for 26 EEG channels, I also have the 3d coordinates of the EEG channels. x = np.array([ 84.06, 83.74, 41.69, 51.87, 57.01, 51.84, 41.16, 21.02, ...
Hannekevd's user avatar
0 votes
1 answer
1k views

There are a lot of questions (and answers) available for people interpolating unstructured data to structured output. solutions to which include mesh grid or bivariate splines. However I'm looking for ...
SBFRF's user avatar
  • 163
1 vote
0 answers
219 views

I have to perform multiple 2-d linear interpolations from the same input coordinates (x,y) to the same output coordinates (xo,yo). Only the data values (z) change every time (z1,z2,z3,...). I have ...
kdouv's user avatar
  • 11