Questions tagged [automap]

Automap is an automatic interpolation R package for spatial point data

Automap is an automatic spatial interpolation R package for spatial point data using kriging. It is meant to automate interpolation for two purposes:

  • Automation of interpolation in batch processing of data, for example interpolation high frequency monitoring network data
  • Easy construction of maps using kriging for people who are less experienced with geostatistics.

The package can be downloaded at CRAN, and a development version can be downloaded from bitbucket using Mercurial:

hg clone https://bitbucket.org/paulhiemstra/automap

You can also browse the source code there.

45 questions
1
vote
2 answers

R: error with autofitVariogram (automap package)

Using autofitVariogram() function from automap package I have generate following error: Error in vgm_list[[which.min(SSerr_list)]] : attempt to select less than one element in get1index Example code: model <- as.formula(Value ~ Elevation) data…
Ollaws
  • 167
  • 1
  • 9
1
vote
4 answers

Map SQL Query results into entities (C#)

Is there a way to automap a query into a class in C# in order to strong type the query results? I don't want to access to query result with a DataTable, specifying manually the Column Name anymore.
CRK
  • 337
  • 2
  • 10
1
vote
1 answer

R: Autokrige.cv function in automap package generates NaNs

I’m fairly new to R and I am trying to make interpolations of temperature measurements that where gathered from different station across the Netherlands. I have data for about 35 stations that make measurements every 10 minutes covering a timespan…
T.Merkus
  • 11
  • 2
1
vote
3 answers

Duplicate data when using gstat or automap package in R

I am trying to using ordinary kriging to spatially predict data where an animal will occur based on predictor variables using the gstat or automap package in R. I have many (over 100) duplicate coordinate points, which I cannot throw out since those…
ms.elasmo
  • 13
  • 4
1
vote
1 answer

How to plot multiple semi-variogram from a single dataset efficiently in R?

I have a dataframe named seoul1to7 contains the hourly PM10 concentration data from 1 march to 7 march,2012.please,download.In this dataset, time is in yyyymmddhr format.for example, 2012030101 means 1 march 2012, 1.00 a.m. Data is Look like: …
Orpheus
  • 329
  • 6
  • 21
1
vote
0 answers

Python's automap bidirectional relationship

Automap is capable of generating bidirectional relationships, but the document is vague and does not give a concrete example. Could anyone share some experience or example code? Thanks.
frogcdcn
  • 391
  • 1
  • 4
  • 14
1
vote
1 answer

R autoKrige loop (package automap)

I have a data frame with daily observations, which I would like to interpolate. I use automap to build a variogram for every days and then apply on new data. I try to run a loop and put the results in a new dataframe. Unfortunately, the data frame…
Tom
  • 25
  • 4
1
vote
2 answers

how to insert x and y label and tick marks in autoKrige?

Two datasets are used: spatial data in 3 columns (x, y, data) grids data in 2 columns (x, y) automap package autoKrige does the calculation of kriging and can be plotted with no x and y tick marks and…
1
vote
1 answer

How to ensure the value of spatial interpolation more than zero

I am using the automap package to calculate spatial interpolation because I do not want to specify the nugget, sill, or range in the krige function in gstat package. The value I want to do spatial interpolation is PM 2.5. Its value can not be…
Ben
  • 665
  • 1
  • 10
  • 27
1
vote
1 answer

Spatial Overlay for Kriging Predictions in R

I have data that are structured as follows: winter.dat<-structure(list(ELON = c(-98.02325, -96.66909, -99.33808, -98.70974, -98.29216, -97.08568, -99.90308, -100.53012, -99.05847, -95.86621, -97.25452, -102.49713, -96.63121, -97.69394, -96.35404,…
Joe Ripberger
  • 569
  • 1
  • 7
  • 19
1
vote
1 answer

Automap - setting output resolution and using multipe cores?

I've got two questions: I'm using the autoKrige function in automap to generate some raster data and am trying to figure out how to increase the resolution of the output. The output is too granular when I open it in QGIS. So far, all I've figured…
Ross Wardrup
  • 311
  • 1
  • 9
  • 26
1
vote
1 answer

Projection error with autoKrige function

I have a problem with autoKrig function and I try to make a reproducible example here: library(automap) library(raster) library(dismo) bio <- getData("worldclim", var="bio", res=10) bio1 <- raster(bio, layer=1) bio12 <- raster(bio,…
Geo-sp
  • 1,704
  • 3
  • 19
  • 42
1
vote
1 answer

Issue with cross-validation using the automap package

I want to do a cross-validation for the ca20-Dataset from the geoR package. With for example the meuse-dataset, this works fine, but for this dataset, I encounter a strange problem with the dimensions of the …
P_M
  • 328
  • 1
  • 7
0
votes
1 answer

sqlalchemy: AttributeError: type object 'customer' has no attribute 'invoices'

I am new to sqlalchemy. I can create database tables by declarative mapping like this: engine = create_engine("--engine works---") Base = declarative_base() class Customer(Base): __tablename__ = 'customer' customer_id = Column(Integer,…
Danniel Little
  • 746
  • 7
  • 12
0
votes
1 answer

Kriging using the gstat and automap packages - problems when copying a tutorial

For several locations in my study site i have water depth (m) data, and i'm trying to use kriging to interpolate depth to locations for which i do not have data. I found a useful blog post written by Dr. Wilke here, and tried to apply his code to my…
FlyingDutch
  • 1,100
  • 2
  • 14
  • 24