Comments (3)
Hi Nicolas,
the SWBD authors did something bad (in my opinion) : when a tile is only water or only land, it is not provided. DTMCreation handles that. We create a new vector which is fully land or fully water, using an external dataset which tells us which is most probable.
So, even if you do not find the SWBD data, it should work.
Olivier
from maja.
Hi Olivier,
Thanks for your answer.
Actually, it does not work, I tested on 19HCC Tile at Chile and we need w070s34 SWBD tile.
Here is the error from MAJA :
missing SWBD watr file : w070s34
Traceback (most recent call last):
File "/Start-MAJA/prepare_dtm/DTMCreation.py", line 334, in <module>
creator.run(args.out, args.tempout)
File "/Start-MAJA/prepare_dtm/DTMCreation.py", line 294, in run
water_zipped = self.WaterZipped)
File "/Start-MAJA/prepare_dtm/../prepare_dtm/tuilage_mnt_eau_S2.py", line 203, in run
calcul_masque_eau_mnt, working_dir=working_dir)
File "/Start-MAJA/prepare_dtm/../prepare_dtm/lib_mnt.py", line 531, in fusion_mnt
land = TestLand(liste_centre_eau[i][0], liste_centre_eau[i][1])
File "/Start-MAJA/prepare_dtm/../prepare_dtm/lib_mnt.py", line 57, in TestLand
layer = dataSource.GetLayer()
AttributeError: 'NoneType' object has no attribute 'GetLayer'
Same error on 30QVD tile with w004n17 SWBD tile.
Do you have an idea ?
Thank you
Nicolas
from maja.
I think I have done something bad, which is assuming you start DTM_creation from the folder that contains the DTMCreation file...
That's why the file which tells if we are over a continent or an ocean is not found. I will correct that ASAP...
from maja.
Related Issues (20)
- How to install MAJA 4 in Ubuntu 20.04 and Docker HOT 3
- [best practices] Processing by orbit HOT 11
- Using StartMaja with MAJA v3.2.2 HOT 1
- Solution for the error happening in case you try to use CAMS (if "NbNonInterpolate" in self._beforeFile.keys(): 'NoneType' object has no attribute 'keys') HOT 3
- Testing MAJA - Where to get "MAJA-DATA" and "MAJA-Validation"? HOT 1
- Github vs gitlab - which MAJA code should I use? HOT 3
- What are the differences between StartMaja scripts on different repositories? HOT 1
- License confusion HOT 2
- Access denied HOT 11
- Xml encoding in xml_tools.py HOT 2
- SRTM download link doesn't respond HOT 5
- Optimal parameters to get the best results (advice needed) HOT 10
- Inputs do not occupy the same physical space HOT 5
- CMake error for EXPAT when compiling MAJA HOT 11
- [best practices] Optimal parameters for rain forest region HOT 4
- Cmake error for GDAL while compiling MAJA
- SameFileError when processing with StartMaja HOT 1
- Repository no more active, please use MAJA's Forum for issues
- Directory of input files as symbolic links
- Maja creates L2A level data with empty cloud masks & 0 instead of -10000 for each band HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maja.