Comments (4)
Getting NaNs looks like a bug, but getting the zeros looks perfectly correct, given the definition we use for quantiles.
It is the same in linux with the current master. The issue is that you are sampling 10 realizations and the first 4 realizations have exactly zero hazard curves.
Those zeros cause the quantiles to be zeros. For instance
>>> from openquake.hazardlib.stats import quantile_curve
>>> quantile_curve(.15, [0, 0, 0, 0, .1, .2, .3, .4, .5, .6])
array(0.)
Now one should investigate why the first 4 realizations are exactly zeros, but that looks more like a scientific question than a bug. My guess is that you are in Croatia and investigating branches of the source model logic tree corresponding to Iceland and thus having zero effect.
from oq-engine.
Thank you Michele. Pretty clear. Regarding the NaNs in Windows 11, I have requested the users that found the issue to send me the specifications of their machines to test further internally.
from oq-engine.
Rather than the full model one should use a reduced EUR model suitable for Croazia. Also, notice that you are 10 times slower than you should be because you are missing the CRUCIAL parameter ps_grid_spacing=50
in the job.ini.
from oq-engine.
Yes I am fully aware that using the full model is not recommended. Unfortunately, we reduced the model but the risk was being significantly underestimated (i.e. Full Model AALR = 0.14%, Reduced model AALR = 0.01%). This led me to believe that the technique used to reduce the model was introducing some problems in the event-based calculations. Hence, we had to go back to the full model as attached (happy to dicuss this further on another thread, as I have all the input files for that case too).
Coming back to the issue in Windows 11, here are the specifications of the machine and the OS were we experienced the issues:
Device specifications
Device name MAJA
Processor Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.59 GHz
Installed RAM 32,0 GB (31,8 GB usable)
Device ID 0AA9C217-0367-408B-86B2-C2C753EB3197
Product ID 00330-52641-62825-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Windows specifications:
Edition Windows 11 Pro
Version 22H2
Installed on 31.3.2023.
OS build 22621.2283
Experience Windows Feature Experience Pack 1000.22662.1000.0
from oq-engine.
Related Issues (20)
- Adding new CAV and AI models HOT 3
- multifaultsource sanity check breaks fault section prefix HOT 2
- Should we replace round with numpy.round? HOT 1
- Check invalid branchIDs
- get_convex_hull failing when getting polygons of some mosaic sources
- AAL Statistics output for classical_risk/case_2 not exportable
- NGAEastUSGSGMPE not working outside of unit tests HOT 3
- Fixing warnings in the documentation
- when a required site parameter is not provided, OQ is running full calculation but giving NAN results HOT 2
- Raise error for missing `residents` at the beginning of the calculation
- Stations still appear to be plotted in Avg GMF
- Implementation of post-loss amplification (PLA) HOT 3
- Document `oq show delta_loss`
- Add check in job.ini for scenario calculations
- Investigations for conditioned scenarios (needed for the Aristotle project)
- individual_rlzs is not honored with --hc HOT 1
- Add an early check for mixed sources
- Think about OQ_APPLICATION_MODE
- Move checks from settings.py to a function called when the webui is started
- Think about disabling numba in same places
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 oq-engine.