Closed lucadelu closed 2 months ago
Can you please send the result of running the same command with --verbose
It is running on my side and I can't reproduce it... Are you using NC mapset or another one?
I have just came across the bug, and I fixed it. I will push the fix here https://github.com/OSGeo/grass-addons/pull/1136
It is in this code snippet:
gs.verbose("Generating AOI from bounding box...")
if proj["+proj"] != "longlat":
info = gs.parse_command("g.region", flags="uplg")
return {
"lonmin": info["nw_long"],
"latmin": info["sw_lat"],
"lonmax": info["ne_long"],
"latmax": info["nw_lat"],
}
It should be:
gs.verbose("Generating AOI from bounding box...")
if proj["+proj"] != "longlat":
info = gs.parse_command("g.region", flags="uplg")
return {
"lonmin": float(info["nw_long"]),
"latmin": float(info["sw_lat"]),
"lonmax": float(info["ne_long"]),
"latmax": float(info["nw_lat"]),
}
Should be fixed. Closing.
Name of the addon i.eodag
Describe the bug If
map
option is not set it return the following errorTo Reproduce to reproduce run
python i.eodag.py -l start=2022-05-25 end=2022-06-01 dataset=S2_MSI_L2A clouds=50
Expected behavior I think it should use the computation region as AOI