passah2o / geonet Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
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?
Is this project using an MIT, Apache, FreeBSD style license or something more strict and copyleft like GPL?
Standard on GitHub would be to include a LICENSE file in the root of the repository.
Example: https://github.com/NationalSecurityAgency/ghidra/blob/master/LICENSE
Thanks!
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.