Giter VIP home page Giter VIP logo

geonet's People

Contributors

aleccarruthers avatar paolapassah2o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geonet's Issues

Updates

  • The newest version of python does not accept print as an open command. Now, it is a function that requires parentheses- e.g., print(). Is it possible to update the code to reflect this?

  • Can these be written into a package that can be implemented in iPython Notebooks?

README

Please confirm but I think the README file needs to be updated so that the second command for Flow Direction, Flow Accumulation, Outlets, and Basins is ..._py3.py

image

Missing Procedure entry point

I just tried to run pygeonet_grass_py3.py with python 3.9.1 and grass gis 7.8 installed on my computer and I always get that error message (The procedure entry point "GEOSMakeValid_r" wasn't found in DLL file C:\Program Files\Grass GIS 7.8\extrabin\gdal301.dll).
error

bug in pygeonet_channel_head_definition.py

I ran into the following error when running pygeonet_channel_head_definition.py,

Traceback (most recent call last):
File "pygeonet_channel_head_definition.py", line 4, in
from time import clock
ImportError: cannot import name 'clock' from 'time' (unknown location)

Should the above import be deleted?

fmm bug

I got the following RunTimeError when trying to run GeoNet fastmarching on Ubuntu Linux. I wonder if anyone has seen this before.

The printout is pasted below;

cc@geoml:/data/GeoNet$ python pygeonet_fast_marching.py
Average Computation Time (0.7 GB DEM): 5 - 7 min
Computing percentage drainage area of each indexed basin
Calc Time: 1.3560327330196742
[[ 13 33 113]
[ 66 46 0]]
Preparing to calculate cost function
normalizing curvature
Curvature min: 0.0 exp(min): 1.0
Curvature max: 1.0 exp(max): 20.085536923187668
Calculating local costs
Evaluating local cost func.
1/cost min: 1.0
1/cost max: 467626.4802614126
('writing geotiff', 'skunk_costfunction.tif')
Performing fast marching
start point : [13 66]
RAM usage before FMM 0: svmem(total=16818544640, available=16060346368, percent=4.5, used=412332032, free=7899185152, active=2472325120, inactive=5654888448, buffers=386818048, cached=8120209408, shared=741376, slab=722386944)
start point : [33 46]
RAM usage before FMM 1: svmem(total=16818544640, available=16026443776, percent=4.7, used=446234624, free=7865282560, active=2506403840, inactive=5654888448, buffers=386818048, cached=8120209408, shared=741376, slab=722386944)
Traceback (most recent call last):
File "pygeonet_fast_marching.py", line 220, in
main()
File "pygeonet_fast_marching.py", line 212, in main
geodesicDistanceArray = Fast_Marching(fastMarchingStartPointListFMM, basinIndexArray, flowArray, reciprocalLocalCostArray)
File "pygeonet_fast_marching.py", line 138, in Fast_Marching
travelTimearray = skfmm.travel_time(phi, speed, dx=.01)
File "/home/cc/anaconda3/envs/geonet/lib/python3.8/site-packages/skfmm/pfmm.py", line 172, in travel_time
t = cFastMarcher(phi, dx, flag, speed, ext_mask,
RuntimeError: Negative discriminant in time marcher quadratic.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.