[GRASS-user] v.surf.idw Not Working
Michaela Lobato
amlobat2 at illinois.edu
Fri Feb 19 08:46:55 PST 2021
Thanks for all your continued help. I did the steps you recommended and was
met with a different error this time:
ERROR: Database connection not defined for layer 1
Traceback (most recent call last):
File "/Users/michaelalobato/Library/GRASS/7.8/Modules/scripts/r.mblend",
line 282, in <module>
main()
File "/Users/michaelalobato/Library/GRASS/7.8/Modules/scripts/r.mblend",
line 240, in main
gscript.run_command('v.db.dropcolumn', map=weight_points_edge,
layer='1',
File
"/Applications/GRASS-7.8.app/Contents/Resources/etc/python/grass/script/core.py",
line 441, in run_command
return handle_errors(returncode, returncode, args, kwargs)
File
"/Applications/GRASS-7.8.app/Contents/Resources/etc/python/grass/script/core.py",
line 342, in handle_errors
raise CalledModuleError(module=None, code=code,
grass.exceptions.CalledModuleError: Module run None v.db.dropcolumn
map=tmp_8758116 layer=1 columns=along ended with error
Process ended with non-zero return code 1. See errors in the (error) output.
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: No data base element files found
WARNING: Table <tmp_8758111> linked to vector map <tmp_8758111> does not
exist
On Thu, Feb 18, 2021 at 7:02 AM Micha Silver <tsvibar at gmail.com> wrote:
> 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 <
> https://urldefense.com/v3/__http://r.info__;!!DZ3fjg!s23wIXUNs2hY7ZIpBfhbowUyUKf0QNHMqg0IZeaaHL7V9Tw8y2aYLaAANBXlarcJh-k$
> > for both maps:
> >
> > < r.info <
> https://urldefense.com/v3/__http://r.info__;!!DZ3fjg!s23wIXUNs2hY7ZIpBfhbowUyUKf0QNHMqg0IZeaaHL7V9Tw8y2aYLaAANBXlarcJh-k$
> >
> > 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 <
> https://urldefense.com/v3/__http://r.info__;!!DZ3fjg!s23wIXUNs2hY7ZIpBfhbowUyUKf0QNHMqg0IZeaaHL7V9Tw8y2aYLaAANBXlarcJh-k$
> > 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
>
>
--
A. Michaela Lobato
BS Systems Engineering and Design | Autonomous Systems and Robotics |
December 2019
MS Systems and Entrepreneurial Engineering | Decision and Control | In
Progress
Email: amlobat2 at illinois.edu | Cell: (815) 494-1111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210219/bae90806/attachment.html>
More information about the grass-user
mailing list