{"id":18968929,"url":"https://github.com/isc-rsingh/fires-api-nodejs","last_synced_at":"2025-09-10T20:46:06.198Z","repository":{"id":69430479,"uuid":"146797853","full_name":"isc-rsingh/fires-api-nodejs","owner":"isc-rsingh","description":"Access global daily fire reports and store in Cloudant as GeoJSON","archived":false,"fork":false,"pushed_at":"2018-08-31T16:09:56.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-01T07:09:29.520Z","etag":null,"topics":["callforcode","cloudant","fires","geojson","geojson-data","ibmcloud","opendata"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isc-rsingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-30T19:35:21.000Z","updated_at":"2018-08-31T16:09:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"700ce764-5d7d-4442-b43a-10dcc3e28113","html_url":"https://github.com/isc-rsingh/fires-api-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-rsingh%2Ffires-api-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-rsingh%2Ffires-api-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-rsingh%2Ffires-api-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc-rsingh%2Ffires-api-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isc-rsingh","download_url":"https://codeload.github.com/isc-rsingh/fires-api-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239965996,"owners_count":19726237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["callforcode","cloudant","fires","geojson","geojson-data","ibmcloud","opendata"],"created_at":"2024-11-08T14:48:50.813Z","updated_at":"2025-02-21T06:22:16.135Z","avatar_url":"https://github.com/isc-rsingh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NASA Active Fire Data API access for IBM Cloud\n\n![wildfire](./wildfire.jpg)\n_Photo by [Michael Held](https://unsplash.com/photos/Of-NXuECJbE?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText) on [Unsplash](https://unsplash.com/search/photos/wildfire?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText)_\n\nThis project shows how to build a basic data access application that continuously runs in the background, processing VIIRS (I-Band 375 m) data from NASA by dowloading CSV files from the site, transforming each record into GeoJSON, and loading that into a Cloudant database.\n\nFrom [NASA FIRMS](https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms/viirs-i-band-active-fire-data): \n\u003e The Visible Infrared Imaging Radiometer Suite (VIIRS) 375 m ([VNP14IMGTDL_NRT](https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms/v1-vnp14imgt)) active fire product is the latest product to be added to FIRMS. It provides data from the VIIRS sensor aboard the joint NASA/NOAA Suomi National Polar-orbiting Partnership (Suomi-NPP) satellite. The 375 m data complements Moderate Resolution Imaging Spectroradiometer (MODIS) fire detection; they both show good agreement in hotspot detection but the improved spatial resolution of the 375 m data provides a greater response over fires of relatively small areas and provides improved mapping of large fire perimeters. The 375 m data also has improved nighttime performance. Consequently, these data are well suited for use in support of fire management (e.g., near real-time alert systems), as well as other science applications requiring improved fire mapping fidelity. Recommended reading: [VIIRS 375 m Active Fire Algorithm User Guide](https://viirsland.gsfc.nasa.gov/PDF/VIIRS_activefire_User_Guide.pdf) (updated July 2018).\n\n## Get an IBM Cloud account\n\nIf you haven't yet done it, sign up for [IBM Cloud here](https://console.bluemix.net/).\n\n## Getting Started in IBM Cloud\n\nDeploy this application to the IBM Cloud in one simple step.\n\n[![Deploy to IBM Cloud](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/rajrsingh/fires-api-nodejs) \n\n_Click this button to deploy the NodeJS app and instantiate a Cloudant database service at the same time. You'll have a fire app that harvests data and persists it to a Cloudant database, where you can easily write queries to access the data._\n\n\n## Getting Started with a local development environment\n\nTo run this application on your local machine, first install Node.js.\n\n1. Install and configure the [IBM Cloud Developer Tools](https://console.bluemix.net/docs/cli/index.html#overview)\n2. Clone this repository\n\n   ```\n   $ git clone git@github.com:rajrsingh/fires-api-nodejs.git\n   $ cd fires-api-nodejs\n   ```  \n3. Install the dependencies\n\n   ```\n   $ npm install\n   ```\n   \n4. Create a `vcap-local.json` file with your IBM Cloud app's VCAP environment variables\n\n    - When running this app locally you can get your Cloudant credentials from IBM Cloud (VCAP_SERVICES in `cf env` output or the Environment Variables section for an app in the IBM Cloud console dashboard). Feel free to copy *all* the environment variables -- not just the Cloudant ones. The app will still find the right ones.\n    - Once you have the credentials, paste them into a file called `vcap-local.json`. Alternately you could point to a local database here instead of a service on the IBM Cloud.\n    - URL will be in this format: https://username:password@xxxxxxxxx-bluemix.cloudant.com\n\n5. Make edits\n\n  - One thing you will want to do when testing is to have the NASA data harvesting run immediately instead of on a timer. To do this, *un*comment the last line of the file so that it reads like this:\n\n    ```\n    callActiveFireData()\n    ```\n\n6. Deploy the application with your code\n   ```\n   $ ibmcloud cf push\n   ```\n\n\n## License\n\nThis code is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/rajrsingh/fires-api-nodejs/tree/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc-rsingh%2Ffires-api-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisc-rsingh%2Ffires-api-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc-rsingh%2Ffires-api-nodejs/lists"}