radosuav / pydms Goto Github PK
View Code? Open in Web Editor NEWPython implementation of Data Mining Sharpener
Python implementation of Data Mining Sharpener
Can you please add sample data input for testing purposes / examples to know how the input should be?
Thanks
Hello!
My friend asked me to help troubleshoot the program, she is having some AttributeError exceptions. I spent some time trying to figure it out. Looks like the problem is here
As far as I understand, lowResMaskFilename
is supposed to be optional. If it's specified, some additional magic (sorry, have no idea what the script actually does :) ) happens, and you control it here. The problem is, self.useQuality_LR
is always True
, because when you check
if len(self.lowResQualityFiles) > 0:
self.useQuality_LR = True
you get single empty string as element of self.lowResQualityFiles
list. So the length of list is always > 0, because empty string is a legit array element. So when the condition above resolves to True
, program tries to open the file which is not there. Hence the AttributeError.
For now I asked my friend to either specify lowResMaskFilename
or change the condition to
if len(self.lowResQualityFiles) > 1:
self.useQuality_LR = True
just to unblock here. But latter is a dirty hack, I understand that :)
Could you please look into this?
Hello, after getting the lowRes and HighRes rasters ready alongside the Mask. I ran the code but I got the following error: AttributeError: 'NoneType' object has no attribute 'GetProjection' . It seems to be a gdal error. I would like to know where it might be the error, thank you.
Hi, I am very interested to use this package. I give it a try but I received some errors. I attached my images, error message, and code in the link and I would appreciate if you can check it
Another question, If I understand correctly, the high-resolution image can be any type of short wave band, Right? Or should be certain bands with certain order?
In my example, I have one image of 3 bands (red, green, blue). It's a sentinel-2 image which I am just testing the package and hopefully, if it works, I will use all available bands of the source image.
hello there, thank you for putting together this package! it is most useful.
I was wondering, would setting a random state for the code be beneficial so as to ensure reproducible results should one need to run data over multiple iterations, say over the quality mask layer to include different values for good pixels? would it be as simple as specifying np.random.seed(some_integer)
at the beginning of the pyDMS.py file?
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.