Open GoogleCodeExporter opened 9 years ago
The error message;
Using file
/nas/gemd/ehp/georisk_earthquake/EQRM/national/Version_13/input/sithaz_event_con
trol_use_rms.xml for event_type source
Using file
/nas/gemd/ehp/georisk_earthquake/EQRM/national/Version_13/input/sithaz_zone_sour
ce_region_rms.xml for zone source
JS*N{"len_source_zones": 30}
Traceback (most recent call last):
File "setdata_ProbHaz_nat_dsg.py", line 83, in <module>
main(locals() )
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/analysis.py", line 171, in main
parallel)
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/event_set.py", line 1494, in create_event_set
source_model) = generate_event_set(parallel, eqrm_flags)
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/event_set.py", line 1343, in generate_event_set
eqrm_flags.prob_number_of_events_in_zones)
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/event_set.py", line 560, in generate_synthetic_events
rupture_centroid_lon[start:end]) = array(gp.populate(num)).swapaxes(0, 1)
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/generation_polygon.py", line 103, in populate
seed, exclude)
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/polygon.py", line 593, in populate_geo_coord_polygon
points_p = points_p[inside_polygon(points_p.tolist(), polygon)]
File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/switch_eqrm_core/eqrm_code/polygon.py", line 82, in inside_polygon
raise msg
TypeError: exceptions must be old-style classes or derived from BaseException,
not str
Original comment by duncan.g...@gmail.com
on 20 Feb 2014 at 7:07
Original issue reported on code.google.com by
duncan.g...@gmail.com
on 20 Feb 2014 at 7:07