Skip to content

Spartan Network

Gabriel Fosse edited this page Jul 17, 2023 · 2 revisions

Overview

URL

data - http://data.spartan-network.org/GroupedBySite/

website - https://www.spartan-network.org/

notes

High quality pm25 measurements. Data is not realtime

Website

Screenshot 2023-07-17 at 1 49 31 PM

Checklist

  • Provides raw values
  • Provides coordinates for locations
  • provides locations list

Pollutants

  • pm25

Data structure

Each folder name corresponds to a different station. The name of the folder is used as a slug to grab the desired csv file in said folder as:

csvUrl = url + `${slug}/TimeResPM25_HourlyEstPM25_${slug}.csv`

Timezones

Spartan network covers many timezones:

case 'AEAZ':
        return 'Asia/Dubai';
      case 'AUMN':
        return 'Australia/Melbourne';
      case 'BIBU':
        return 'Africa/Bujumbura';
      case 'CADO':
        return 'America/Toronto';
      case 'CAHA':
        return 'America/Halifax';
      case 'CAKE':
        return 'America/Vancouver';
      case 'CALE':
        return 'America/Edmonton';
      case 'CASH':
        return 'America/Toronto';
      case 'CLST':
        return 'America/Santiago';
      case 'CODC':
        return 'America/Bogota';
      case 'ETAD':
        return 'Africa/Addis_Ababa';
      case 'ILHA':
        return 'Asia/Jerusalem';
      case 'INDH':
        return 'Asia/Kolkata';
      case 'KRSE':
        return 'Asia/Seoul';
      case 'KRUL':
        return 'Asia/Seoul';
      case 'MXMC':
        return 'America/Mexico_City';
      case 'PRFJ':
        return 'America/Puerto_Rico';
      case 'TWKA':
        return 'Asia/Taipei';
      case 'TWTA':
        return 'Asia/Taipei';
      case 'USBA':
        return 'America/New_York';
      case 'USBO':
        return 'America/Chicago';
      case 'USPA':
        return 'America/Los_Angeles';
      case 'ZAJB':
        return 'Africa/Johannesburg';
      case 'IDBD':
        return 'Asia/Jakarta';
      case 'ARCB':
        return 'America/Argentina/Buenos_Aires';
      case 'BDDU':
        return 'Asia/Dhaka';
      case 'USEM':
        return 'US/Eastern';
      case 'INKA':
        return 'Asia/Kolkata';
      case 'USMC':
        return 'US/Eastern';
      case 'PHMO':
        return 'Asia/Manila';
      case 'ILNZ':
        return 'Asia/Jerusalem';
      case 'CHTS':
        return 'Asia/Shanghai';
      case 'NGIL':
        return 'Africa/Lagos';
      case 'ZAPR':
        return 'Africa/Johannesburg';
      case 'SGSU':
        return 'Asia/Singapore';
      case 'VNHN':
        return 'Asia/Ho_Chi_Minh';
      default:
        return 'utc';