datadesk / inciweb-wildfires Goto Github PK
View Code? Open in Web Editor NEWDownload wildfire incidents data from InciWeb
Home Page: https://palewi.re/docs/inciweb-wildfires/
License: MIT License
Download wildfire incidents data from InciWeb
Home Page: https://palewi.re/docs/inciweb-wildfires/
License: MIT License
Hi,
I am getting this error on running :
data = inciweb_wildfires.get_incidents()
Traceback (most recent call last):
line 27, in get_usa_incidents
data = inciweb_wildfires.get_incidents()
File "python3.7/site-packages/inciweb_wildfires/__init__.py", line 14, in get_incidents
content = r.json()["markers"]
File "/python3.7/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I stumbled upon this tool when searching for an inciweb API; after installing and then trying the CLI I got:
{"features": [], "type": "FeatureCollection"}
I checked the link https://inciweb.nwcg.gov/feeds/maps/placemarks.kml I found in the code. Visiting directly, the inciweb site is throwing an error:
The website encountered an unexpected error. Please try again later.
Error: Call to a member function getName() on bool in Drupal\kml\Encoder\KmlEncoder->xmlToArray() (line 231 of modules/contrib/kml/src/Encoder/KmlEncoder.php).
I recognize this is not really your responsibility but thought you might want to know.
Also -- FWIW -- the website would like to be known as https://inciweb.wildfire.gov/ going forward!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.