MiKatt / openSTARS

open source implementation of the STARS ArcGIS toolbox

Home Page:https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0239237

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue importing site data

JorGarMol opened this issue · comments

Hello!

I have a similar issue importing my sites data to that reported some months ago (Mar 8) although this time does not have to do with the language environment. This is the error message I get to the call

import_data(dem = dem_path, sites = site_path)

Loading DEM into GRASS as dem ...
Loading sites into GRASS as sites_o ...
Error : XML content does not seem to be XML: 'The system cannot find the path specified.'
In addition: Warning message:
In system(cmd0, intern = TRUE) :
running command 'v.import.bat --interface-description' had status 1
Error in parseGRASS(cmd, legacyExec = legacyExec) : v.import not parsed

Loading the site shape file directly into R works without problems

sites <- rgdal::readOGR("D:/Sorachi_River/Base_data", "Sites_UTM")
sites

class : SpatialPointsDataFrame
features : 48
extent : 582178.4, 638527.3, 4768612, 4831181 (xmin, xmax, ymin, ymax)
crs : +proj=utm +zone=54 +ellps=GRS80 +units=m +no_defs
variables : 12
names : SiteID, Owner, Type, WlogID, AlogID, Latitude, Longitude, Altitude, Year, Month, Day, Spring
min values : 1, J, Gemini, 0, 0, 43.0580356, 142.0177917, 0, 0, 0, 0, 0
max values : ir_7, N, Hobo, 803910, 803909, 43.62775, 142.7024753, 70, 2019, 7, 9, NA

I installed Grass GIS (v 7.8) via OSGeo4W.

Any help would be really appreciated!
Jorge