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

Not working on a new dataset #17

Closed
matamadio opened this issue Jun 12, 2020 · 4 comments
Closed

Not working on a new dataset #17

matamadio opened this issue Jun 12, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@matamadio
Copy link
Owner

Today I was trying on a new set of data but I got a new error:

immagine

EPSG is both 3044 and incorrect geometries were removed from shapefile.

Test data is here

@matamadio matamadio added the bug Something isn't working label Jun 12, 2020
@matamadio
Copy link
Owner Author

As far as I understood from error search, it seems to be a problem with the way multiprocessing is processed.
https://bugs.python.org/issue9733
unbit/uwsgi#206

@matamadio
Copy link
Owner Author

Nope, it is not multiprocessing, as it fails also using --cores 1
It seems it don't recognise the crs properly. I'll try to reproject.

Traceback (most recent call last):
File "runstats.py", line 145, in
main(output_fn, **opts)
File "runstats.py", line 83, in main
results = extract_stats(shp_fns, rst_fns, field, stats, ignore, preprocess)
File "D:\Amadio\Rimini_ANUGA\hazardstat.py", line 238, in extract_stats
crs_matches, issue = matching_crs(ds, shp)
File "D:\Amadio\Rimini_ANUGA\hazardstat.py", line 143, in matching_crs
shp_str = shp_data.crs['init']
KeyError: 'init'

@ConnectedSystems
Copy link
Collaborator

I'll have a look soon. At first glance the issues you linked to appear to be resolved so I suspect it's something else...

@matamadio
Copy link
Owner Author

It was a crs problem of source data. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants