AQ-AI / openaq-engine

http://www.aqai.xyz
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Mongolia - local model steps to build #64

Open ChristinaLast opened 5 months ago

ChristinaLast commented 5 months ago

Steps to build first model version

ChristinaLast commented 5 months ago

2. Creating a master table

Ensuring that the locationId for Amgalan and US Diplomatic Post are the same as in the cohorts_MN table.

ChristinaLast commented 5 months ago

The text description of how to translate Rob's columns to the API columns: Key differences:

  1. the date columns should retain the utc and local {"utc": "2024-01-07T18:00:00+00:00", "local": "2024-01-08T02:00:00+08:00"}
  2. the unit column should be µg/m³ rather than µg/m³
  3. the location column should contain the location in Ulaanbaatar Particulate Matter Sensor Data
  4. the mobile should be FALSE if false (which is currently a type str when it should be processed to boolean in postgres
  5. isAnalysis column should be null
  6. sensorType should be "reference grade"
  7. entity columns should be assigned from sourcetype