Comments (5)
Hi,
In the tutorial the sound source define only one frequency:
{
"type": "FeatureCollection",
"name": "Point_Source",
"crs": {"type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::2154" } },
"features": [{"type": "Feature", "properties": { "PK": 1, "LWD500": 100.0, "YAW": 45, "PITCH": 0, "ROLL": 0, "DIR_ID" : 1 },
"geometry": {"type": "Point", "coordinates": [223771.0727, 6757583.2983, 0.0]}
}]
}
but your sound source define other frequencies not defined in the source directivity:
{
"type": "FeatureCollection",
"name": "source2",
"features": [
{ "type": "Feature", "properties": { "Join_Count": 0, "TARGET_FID": 0, "PK": 0,
"LWD63": 0.0, "LWD125": 0.0, "LWD250": 0.0, "LWD500": 150.0, "LWD1000": 0.0, "LWD2000": 0.0, "LWD4000": 0.0,
"LWD8000": 0.0, "LWE63": 0.0, "LWE125": 0.0, "LWE250": 0.0, "LWE500": 150.0, "LWE1000": 0.0, "LWE2000": 0.0,
"LWE4000": 0.0, "LWE8000": 0.0, "LWN63": 0.0, "LWN125": 0.0, "LWN250": 0.0, "LWN500": 150.0, "LWN1000": 0.0,
"LWN2000": 0.0, "LWN4000": 0.0, "LWN8000": 0.0, "YAW": 240.0, "PITCH": 0.0, "ROLL": 0.0, "Height": 40,
"SirenenID": "SU_GI_FRIS03", "Anmerkung": null, "DIR_ID": 15 },
"geometry": { "type": "Point", "coordinates": [ 81564.823699999600649, 64447.610799999907613, 39.9999765 ] } }
]
}
NoiseModelling is missing a check for this type of inconsistency in input data. A patch will be provided.
To fix your project, you have to provide only LWD500 column as you compute only day value.
from noisemodelling.
Bonus you can generate a plot of your directivity with this code:
def runScript(connection, scriptFile, arguments) {
Logger logger = LoggerFactory.getLogger("script")
GroovyShell shell = new GroovyShell()
Script scriptInstance = shell.parse(new File(scriptFile))
Object result = scriptInstance.invokeMethod("exec", [connection, arguments])
if(result != null) {
logger.info(result.toString())
}
return result
}
def htmlCode = runScript(connection, "noisemodelling/wps/NoiseModelling/PlotDirectivity.groovy",
["confDirId": 15, "tableSourceDirectivity": "Directivity"]);
def htmlfile = new File('directivity.html')
htmlfile.write(htmlCode)
from noisemodelling.
from noisemodelling.
Merci Nicolas L’option «directivity » marche maintenant. Mais les résultats ne sont pas cohérents avec la description du yaw dans la documentation. @.*** Chez nous avec yaw = 90 l’orientation de la source est ouest pas est et yaw =0 est sud et pas nord. Tous les calcul avec la même « directivity.csv » Phi LW500 0-90 0 90-270 -50 270-360 0 @.***
D’après les graphique de la source, elle émet à l'arrière et non à l'avant, c'est peut être pour ça.
from noisemodelling.
Salut Nicolas
C'est tout à fait exact. J'ai utilisé le faux "directivity.csv " Ici le bon fichier.
Directivity.csv
from noisemodelling.
Related Issues (20)
- Provide NoiseModelling native library for C and Python HOT 1
- Documentation on the absorption coefficient HOT 1
- Customize vehicle category HOT 12
- WSP Builder - Import Folder doesn´t work
- Error in doc RailWay
- How to create Lw_railway HOT 1
- Import file into NoiseModelling 4.0.5 HOT 2
- Propagation error in NM 4.0.5?? HOT 7
- Metric projection error HOT 10
- Solving WIDTH field is not taken into account in "Enrich_DEM_with_road.groovy"
- PK error HOT 2
- Delaunay grid bug HOT 1
- Maven artefact ? HOT 3
- Errors in calculation depending on the separation between receivers HOT 4
- Roads are not imported correctly from OSM data HOT 7
- Null data for a large proportion of receivers HOT 2
- Second order of reflection or higher HOT 2
- MAVEN WPS and GUI HOT 5
- How to test a new WPS block? HOT 1
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 noisemodelling.