← Videnskab og rum

Lysforureningsestimat

GET /lightpollution

Hent en estimeret Bortle-klasse (1-9) for enhver placering baseret på nærliggende befolkningstæthed. Dette er et estimat, ikke en satellitmåling - det bruger vægtet befolkning inden for 100 km til at approksimere himmelens lysstyrke. Returnerer Bortle-klasse, himmelkvalitetsvurdering, estimeret antal stjerner synlige med det blotte øje, SQM-estimat (Sky Quality Meter) og egnethed til nordlysobservation. Præcist for storbyer og fjerntliggende områder; mindre præcist for forstæder. Nyttigt til astronomiapps, nordlysturisme, astrofotografiplanlægning og bevidsthed om mørk himmel.

Parametre

lat påkrævet

Latitude

lon påkrævet

Longitude

Eksempelforespørgsler

Grundlæggende brug
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
}