inasafe / inasafe

InaSAFE - QGIS plugin for estimating impact from natural disasters
www.inasafe.org
GNU General Public License v3.0
260 stars 135 forks source link

Aggregation Problem Raster output #464

Closed vanpuk closed 10 years ago

vanpuk commented 11 years ago

Using aggregation branch, commit a077bd (a077bd930a7b0a515a74029) The data set used (found in https://github.com/AIFDR/inasafe/blob/aggregation/files/Yogyakarta.zip) Hazard: Yogyakarta earthquake Exposure: AsiaPop (1km2) Boundary: District (Kabupaten) Problem is that the aggregation is giving a value for Yogyakarta district but giving values of 1 for the rest. This I am assuming is the same problem we have had before with results not covering the whole area and hence not aggregating, however this particular hazard has been clipped to the boundary and because its resolution is low its within the boundaries.

vanpuk commented 11 years ago

Hey Marco when you finish with these datasets I have uploaded to files within InaSAFE it maybe best to delete them. Cheers

mbernasocchi commented 11 years ago

@vanpuk I will delete them the problem is that they'll stay in the repo history. unless we do some history rewriting our repo just got 38MB larger. @timlinux shall I do something like this https://help.github.com/articles/remove-sensitive-data?

timlinux commented 11 years ago

Hi

@mbernasocchi yeah I think we would need to if the data is not licensed for redistribution.

T

vanpuk commented 11 years ago

All the data that was put into the system is licensed for redistribution. However I would think it would be cleaner to delete them. If you can think of another place I could put these packages let me know.

mbernasocchi commented 11 years ago

@timlinux even if it is licensed, it is a pity to make the code repo so much larger

mbernasocchi commented 11 years ago

@timlinux would you have a bit of time to look into why QgsZonalStats are giving back NaNs with this files http://www.bernawebdesign.ch/download/nan.zip (Kabubaten and impact from the yogya project)? So I can focus on closing the other issues.

timlinux commented 11 years ago

HI

On Tue, Jan 15, 2013 at 9:13 PM, Marco Bernasocchi <notifications@github.com

wrote:

@timlinux https://github.com/timlinux would you have a bit of time to look into why QgsZonalStats are giving back NaNs with this files http://www.bernawebdesign.ch/download/nan.zip (Kabubaten and impact from the yogya project)? So I can focus on closing the other issues.

Sure I can look.

Regards

Tim

— Reply to this email directly or view it on GitHubhttps://github.com/AIFDR/inasafe/issues/464#issuecomment-12283898.

Tim Sutton - QGIS Project Steering Committee Member (Release Manager)

Visit http://linfiniti.com to find out about:

mbernasocchi commented 11 years ago

probably similar to #368

vanpuk commented 11 years ago

Hey, I am still having the same problem using Yogyakarta - raster hazard and raster exposure. I also tried it for Palu and got only 1 for all areas. Cheers

timlinux commented 11 years ago

I can confirm testing here with:

Using the yagya data pacakge from Kristy.

Detailed age report
Name_2  Total   Youth count Adult count Elderly count
Yogyakarta  392312  103178  258534  30600
Bantul  No data No data No data No data
Gunung Kidul    No data No data No data No data
Kulon Progo No data No data No data No data
Sleman  No data No data No data No data
timlinux commented 11 years ago

I've removed relrease blocker from this - even when we find the fix, we will still sit with the issue that the fix needs to be deployed in a QGIS release so we cant block an inasafe release for it.

mbernasocchi commented 10 years ago

error not reproducible anymore