Code Monkey home page Code Monkey logo

data-downloader's People

Contributors

dekunzhang avatar hardik2239 avatar smgjch avatar

Stargazers

 avatar

Watchers

 avatar  avatar

data-downloader's Issues

Trinidad and Tobago - Errno 22 - Heavy Rains?.csv

While running the data downloader example.py file, I got this error:

Traceback (most recent call last):
File "\data-downloader\example.py", line 10, in
csv_downloader.start_download(target_dir, mode=0b011)
File "
\data-downloader\csv_downloader_init_.py", line 7, in start_download
start(target_dir, mode)
File "\data-downloader\csv_downloader_exec.py", line 9, in start
csv_crawler.run(mode)
File "
\data-downloader\csv_downloader_csv_crawler.py", line 189, in run
self.download_country_data(country, disasters,
File "\data-downloader\csv_downloader_csv_crawler.py", line 156, in download_country_data
CSVCrawler.download_disaster_csv(country, disaster,
File "
\DesInventar\data-downloader\csv_downloader_csv_crawler.py", line 143, in download_disaster_csv
with open(filepath, 'wb') as f:
OSError: [Errno 22] Invalid argument: '***/data/raw_csv_files/Trinidad and Tobago_tto/Heavy Rains?.csv'

I checked and Heavy Rains?.csv does not exist. For Trinidad and Tobago, there are two types Heavy rains with 22 events and Heavy Rains? with one event. The Heavy Rains.csv file has been created but is completely blank inside.

It could be that, during the processing, the ? his ignored and the similarity of the event type names caused the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.