Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the receivers::Delaunay_grid function very very slow? #537

Open
mshmoon opened this issue Jan 11, 2023 · 7 comments
Open

Is the receivers::Delaunay_grid function very very slow? #537

mshmoon opened this issue Jan 11, 2023 · 7 comments
Labels

Comments

@mshmoon
Copy link

mshmoon commented Jan 11, 2023

NoiseModelling version
4.0.2

Describe the bug
when I use the receivers::Delaunay_grid, I found it is very very slow

To Reproduce
Steps to reproduce the behavior:

  1. load BUILDINGS, ROADS and GROUND_TYPE, POINT_SOURCE(Official provided files)
  2. Fill the two following mandatory parameters in receivers::Delaunay_grid function:
    Source table name : POINT_SOURCE
    Buildings table name : BUILDINGS
  3. click run process
  4. I see noisemodelling will compute 16777216 times for delaunay, very very slow

It looks like will cost several days time

11111

@mshmoon mshmoon added the bug label Jan 11, 2023
@mshmoon mshmoon changed the title The delaunay is very very slow? Is the receivers::Delaunay_grid function very very slow? Jan 11, 2023
@gpetit
Copy link
Collaborator

gpetit commented Jan 11, 2023

Hi,
Can you give us more details, in particular which tutorial you used ? Are you talking about this one ?

@pierromond
Copy link
Contributor

You probably put a veryyyyy short propagation distance? Did you change some default parameters ?

@gpetit
Copy link
Collaborator

gpetit commented Jan 11, 2023

Ok. I guess you followed the tutorial Noisemap from point source ?
If so, I just repeat the exercice and I takes less than 1s to produce the triangulation
image

image

image

Maybe your problem comes from the SRID associated to the input files ? This dataset has to be 2154 (french legal one)

@gpetit gpetit added question and removed bug labels Jan 11, 2023
@mshmoon
Copy link
Author

mshmoon commented Jan 12, 2023

Hi, Can you give us more details, in particular which tutorial you used ? Are you talking about this one ?

https://noisemodelling.readthedocs.io/en/latest/Noise_Map_From_Point_Source.html
I did it with reference to this example

@mshmoon
Copy link
Author

mshmoon commented Jan 12, 2023

Ok. I guess you followed the tutorial Noisemap from point source ? If so, I just repeat the exercice and I takes less than 1s to produce the triangulation image

image

image

Maybe your problem comes from the SRID associated to the input files ? This dataset has to be 2154 (french legal one)

Yes, I followed the tutorial

@mshmoon
Copy link
Author

mshmoon commented Jan 12, 2023

french legal

Can you upload your files

@gpetit
Copy link
Collaborator

gpetit commented Jan 12, 2023

Hi,
I used:

  • buildings.shp which is in the folder .../NoiseModelling_4.0.2/data_dir/data/wpsdata/
  • Point_Source.geojson, which is in the folder .../NoiseModelling_4.0.2/data_dir/data/wpsdata/TutoPointSourceDirectivity/

If you try with your own dataset, you just have to be sure that both files are in the same (metric) projection system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants