Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error Message #300
After adding the raster I get this error message:
Attempted to divide by zero.
@emma994 found a way to get it!
The problem is related to the fact that the data are unprojected and stored in decimal degrees. We are working on a proper warning message instead of a hard error, but we recommend that you reproject into a non-geopgrahic projection such as the British National Grid or Universal Transverse Meractor.
GCD requires projected data that is represented using linear units, as opposed to angular units, so that it can calculate accurate areas and volumes.
added a commit
Aug 22, 2018
Hi Philip, Thank you for your help, I think that has solved the problem as I am now able to add in one of my rasters with no error message. I am having trouble with my other raster as when I input it into the GCD it seems to crash after a while and I have to restart the programme. Do you know what is causing this and how I can overcome it? Thanks, Emma…
________________________________ From: philipbaileynar <firstname.lastname@example.org> Sent: 22 August 2018 20:58:38 To: Riverscapes/gcd Cc: Emma Dabbs; Mention Subject: Re: [Riverscapes/gcd] Error Message (#300) Not withstanding that GCD should not be used with angular coordinates, the fix for this error so that GCD does not crash with very small cell widths will be part of the next GCD release. Closing this issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#300 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/An9K1rTWkxPuDRaDSTf_4gvJhmpjUbwaks5uTbfugaJpZM4VmC3R>.