[GRASS-user] v.surf.idw Not Working

Micha Silver tsvibar at gmail.com
Thu Feb 18 05:01:53 PST 2021


No solution yet :-(, only more questions...


It looks to me that the plugin is intended to work when the lowres 
raster extends the highres raster only in one direction. In your case, 
the 1 degree SRTM tile you are using totally contains the USGS 1 meter 
region.


To test this I would try to clip out a section of the SRTM:


# Set the computation region to the highres raster, then extend only in 
one direction

g.region -p rast=USGS_one_meter_x39y445_IL_12_County_ChampaignCo_2008

g.region -p w=88:20:00W


# Now clip the SRTM to this new region

# But use the coarse resolution

g.region -p res=0:00:01

r.mapcalc "n40_w089_clip = n40_w089_1arc_v3"


# Now try r.mblend with this clipped SRTM

r.mblend high=USGS_one_meter_x39y445_IL_12_County_ChampaignCo_2008 
low=n40_w089_clip out=blend


Please report back if this helps (or not...)



On 2/17/2021 2:52 AM, Michaela Lobato wrote:
> Here is the output for r.info <http://r.info> for both maps:
>
> < r.info <http://r.info> 
> map=USGS_one_meter_x39y445_IL_12_County_ChampaignCo_2008 at PERMANENT
>
> +----------------------------------------------------------------------------+
>
> | Map:USGS_one_meter_x39y445_IL_12_Date: Tue Feb 16 18:44:21 2021|
>
> | Mapset: PERMANENTLogin of Creator: michaelalobato|
>
> | Location: champaign|
>
> | DataBase: /Users/michaelalobato/Documents/Research/grassdata |
>
> | Title:USGS_one_meter_x39y445_IL_12_County_ChampaignCo_2008 |
>
> | Timestamp: none|
>
> |----------------------------------------------------------------------------|
>
> ||
>
> | Type of Map:raster Number of Categories: 0 |
>
> | Data Type:FCELL|
>
> | Rows: 9015 |
>
> | Columns:11748|
>
> | Total Cells:105908220|
>
> |Projection: Latitude-Longitude|
>
> |N: 40:11:40.173254NS: 40:06:11.010398N Res: 0:00:00.03651 |
>
> |E: 88:10:23.5766WW: 88:17:32.519389W Res: 0:00:00.036512|
>
> | Range of data:min = 204.0563max = 244.8284 |
>
> ||
>
> | Data Description:|
>
> |generated by r.proj |
>
> ||
>
> | Comments:|
>
> |r.proj --quiet location="temp_import_location_4329" mapset="PERMANEN\ |
>
> |T" input="USGS_one_meter_x39y445_IL_12_County_ChampaignCo_2008" meth\ |
>
> |od="nearest" memory=300 resolution=1.0142500028210239e-05 |
>
> ||
>
> +----------------------------------------------------------------------------+
>
>
>
> < r.info <http://r.info> map=n40_w089_1arc_v3 at PERMANENT
>
> +----------------------------------------------------------------------------+
>
> | Map:n40_w089_1arc_v3 at PERMANENT Date: Tue Feb 16 18:42:24 2021|
>
> | Mapset: PERMANENTLogin of Creator: michaelalobato|
>
> | Location: champaign|
>
> | DataBase: /Users/michaelalobato/Documents/Research/grassdata |
>
> | Title:n40_w089_1arc_v3 |
>
> | Timestamp: none|
>
> |----------------------------------------------------------------------------|
>
> ||
>
> | Type of Map:raster Number of Categories: 0 |
>
> | Data Type:CELL |
>
> | Rows: 3601 |
>
> | Columns:3601 |
>
> | Total Cells:12967201 |
>
> |Projection: Latitude-Longitude|
>
> |N: 41:00:00.5NS: 39:59:59.5N Res: 0:00:01 |
>
> |E: 87:59:59.5WW: 89:00:00.5W Res: 0:00:01 |
>
> | Range of data:min = 163max = 305 |
>
> ||
>
> | Data Description:|
>
> |generated by r.in.gdal|
>
> ||
>
> | Comments:|
>
> |r.in.gdal -e input="/Users/michaelalobato/Documents/Research/grassda\ |
>
> |ta/n40_w089_1arc_v3.tif" output="n40_w089_1arc_v3" memory=300 offset\ |
>
> |=0 num_digits=0 |
>
> ||
>
> +----------------------------------------------------------------------------+
>
>
>
> Michalea
>
-- 
Micha Silver
Remote Sensing Lab, Sde Boker
Ben Gurion University
cell: +972-523-665918



More information about the grass-user mailing list