← Vitenskap og romfart

Lysforurensningsestimat

GET /lightpollution

Hent en estimert Bortle-klasse (1–9) for et hvilket som helst sted basert på nærliggende befolkningstetthet. Dette er et estimat, ikke en satellittmåling – den bruker vektet befolkning innen 100 km for å tilnærme himmelens lysstyrke. Returnerer Bortle-klasse, himmekvalitetsvurdering, estimert antall stjerner synlige med det blotte øye, SQM-estimat (Sky Quality Meter) og egnethet for nordlysobservasjon. Nøyaktig for store byer og avsidesliggende områder; mindre presist for forsteder. Nyttig for astronomiapper, nordlysturisme, astrofotograferingsplanlegging og bevissthet om mørk himmel.

Parametere

lat påkrevd

Latitude

lon påkrevd

Longitude

Eksempelforespørsler

Grunnleggende bruk
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
Tallinn, Estonia
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
Lofoten, Norway (dark sky)
curl "https://nordapi.ee/api/v1/lightpollution?lat=68.2&lon=14.6"
Central London
curl "https://nordapi.ee/api/v1/lightpollution?lat=51.51&lon=-0.13"
Rural Iceland
curl "https://nordapi.ee/api/v1/lightpollution?lat=65.0&lon=-18.0"

Livesvar

{
  "data": {
    "aurora_suitability": "fair",
    "bortle_class": 6,
    "bortle_description": "Bright suburban sky. Milky Way only visible near zenith. Sky glow extends to 35° above horizon.",
    "disclaimer": "This is an estimate based on nearby population density, not satellite measurements. Actual light pollution may vary due to terrain, local lighting, and atmospheric conditions.",
    "latitude": 59.437,
    "longitude": 24.754,
    "methodology": "Bortle class estimated from weighted population within 100km. Closer cities contribute more. Accurate for major cities and remote areas; less precise for suburbs and small towns.",
    "naked_eye_stars": "200+",
    "nearby_population": {
      "nearby_cities": [
        {
          "country": "",
          "distance_km": 0.0,
          "name": "nearby city",
          "population": 450000
        }
      ],
      "nearest_city": "nearby city",
      "nearest_distance_km": 0.0,
      "total_population": 450000,
      "weighted_population": 450000
    },
    "recommendations": [
      "Drive 30-60 minutes away from the city for significantly darker skies"
    ],
    "sky_quality": "poor",
    "sqm_estimate": 18.94
  },
  "success": true
}