kedziorm / mysnapscripts Goto Github PK
View Code? Open in Web Editor NEWPython scripts which I use in my work wirh ESA SNAP tool
Python scripts which I use in my work wirh ESA SNAP tool
saveHistForFiles(inputFile,"Wartości", "Liczebność", None, "pl", "w")
In [10]: can't invoke "event" command: application has been destroyed
while executing
"event generate $w <>"
(procedure "ttk::ThemeChanged" line 6)
invoked from within
"ttk::ThemeChanged"
Since I encounter problem - on histogram there were no polish letters, I changed order of fonts to check, so that DejaVu is returned on my Ubuntu machine:
20454ab
Currently 'get_whole_Product_size' supports only '.dim', '.shp' and '.nc' extensions and was not checked/tested carefully.
ERROR isBandInProd Available bands: [Ljava.lang.String;@2baf72d5
Paths should be provided in consistent way. Example path: histogramDirectory
In my code I use multiple variable names which suggest their content (for example: SentinelFile or SMOSfile1). I should use more generic names, since my script should (but it was not tested!) handle more ESA SNAP products.
Currently all functions are stored in one big Python script.
I should split by regions:
https://www.jetbrains.com/help/pycharm/2016.1/code-folding.html#using_folding_comments
or in any other way, so that it will be easier to navigate.
For example: gdalinfo(test_TIFF.tif)
shows me 'Pixel Size = (0.259366035461426,-0.316413879394531)'
but getProductRes(test_TIFF.tif)
method returns: '0.2074928, 0.1582069'
Please note that test_TIFF.tif is contained within this repository.
I asked about this issue on forum as well:
http://forum.step.esa.int/t/how-can-i-get-product-pixel-size-resolution-from-snappy-python/4161/2
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.