<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 8:10 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
#######<br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.in.gdal/test_r_in_gdal/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.in.gdal/test_r_in_gdal/index.html</a><br>
<br>
ERROR: Projection of dataset does not appear to match current location.<br>
Location PROJ_INFO is:<br>
name: Universal Transverse Mercator<br>
proj: utm<br>
...<br>
Dataset PROJ_INFO is:<br>
name: Lambert Conformal Conic<br>
proj: lcc<br>
<br>
... how should this be handled? The Piemont data are in UTM, so the<br>
data in raster/r.in.gdal/testsuite/data/ do not fit since written for<br>
NC.<br>
<br>
#######<br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.profile/test_profile_ncspm/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.profile/test_profile_ncspm/index.html</a><br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.viewshed/test_r_viewshed/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.viewshed/test_r_viewshed/index.html</a><br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/r.import/test_r_import/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/r.import/test_r_import/index.html</a><br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.watershed/r_watershed_test/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.watershed/r_watershed_test/index.html</a><br>
<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.slope.aspect/test_r_slope_aspect/index.html" rel="noreferrer" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.slope.aspect/test_r_slope_aspect/index.html</a><br>
<br>
--> also here the tests are NC specific.<br>
<br>
Maybe they should be skipped in the Piemont test case?</blockquote></div><br>These will probably need to be disabled for NC. I had the support there but then I drop it at one point to implement something more useful at that time (I would have to look to commits what was the reason). The basic idea is that the tests will state (probably in variable or in a comment) which Location or kind of Location they want and then they won't be executed (the command line API say which tests you want to run is there: --location-type nc). What is Location and kind of Location is not completely clear but we need to figure that out on the way. The biggest work is probably in the aggregation scripts. I plan to look at it but so far I was just postponing it, now it seems there is not much reason to postpone it more.<br><br>Doc with some ideas about how the problem should be approached:<br><a href="https://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#data">https://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#data</a><br><br></div><div class="gmail_extra">Vaclav<br></div></div>