Skip to content

Commit

Permalink
fix(layer-selector): remove layer flyto (#591)
Browse files Browse the repository at this point in the history
* fix(layer-selector): remove layer flyto

* chore(legend-images): update images

* feat(layers): remove flits
  • Loading branch information
pwambach authored Sep 7, 2020
1 parent 0a20eaf commit 4d1ea82
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 273 deletions.
249 changes: 5 additions & 244 deletions data/layers-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
"timeFormat": {
"year": "2-digit",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"sst.analysed_sst": {
Expand All @@ -27,38 +15,14 @@
"month": "long",
"day": "numeric"
},
"legendValues": ["37 °C", "-3"],
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
"legendValues": ["37 °C", "-3"]
},
"oc.chlor_a": {
"colorMap": "winter",
"basemap": "ocean",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"aerosol.AOD550_mean": {
Expand All @@ -68,38 +32,14 @@
"year": "numeric",
"month": "long"
},
"units": "AOD550",
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
"units": "AOD550"
},
"cloud.cfc": {
"colorMap": "gray",
"basemap": "blue",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"sea_level.sla": {
Expand All @@ -108,18 +48,6 @@
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"sea_surface_salinity.sss": {
Expand All @@ -128,18 +56,6 @@
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"soil_moisture.sm_mean": {
Expand All @@ -148,18 +64,6 @@
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"ozone.atmosphere_mole_content_of_ozone": {
Expand Down Expand Up @@ -188,18 +92,6 @@
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"sea_state.swh_mean": {
Expand All @@ -209,19 +101,7 @@
"year": "numeric",
"month": "long"
},
"legendValues": ["> 6m", "0m"],
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
"legendValues": ["> 6m", "0m"]
},
"sea_ice_sh.ice_conc": {
"colorMap": "custom",
Expand All @@ -230,18 +110,6 @@
"year": "numeric",
"month": "long",
"day": "numeric"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"sea_ice_nh.ice_conc": {
Expand All @@ -251,18 +119,6 @@
"year": "numeric",
"month": "long",
"day": "numeric"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"greenland_ice.sec": {
Expand All @@ -271,37 +127,13 @@
"year": "numeric",
"month": "long"
},
"units": "m",
"flyTo": {
"position": {
"height": 5500000,
"latitude": 72.29,
"longitude": -38.5
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
"units": "m"
},
"permafrost.pfr": {
"colorMap": "custom",
"basemap": "land",
"timeFormat": {
"year": "numeric"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"snow.swe": {
Expand All @@ -310,18 +142,6 @@
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"biomass.agb": {
Expand All @@ -331,93 +151,34 @@
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
"filter": "linear"
},
"greenhouse.xco2": {
"colorMap": "custom",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"greenhouse.xch4": {
"colorMap": "custom",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 0
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"lakes.lake_surface_water_temperature": {
"colorMap": "custom",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 90
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"lakes.chla_mean": {
"colorMap": "custom",
"timeFormat": {
"year": "numeric",
"month": "long"
},
"flyTo": {
"position": {
"height": 15000000.06,
"latitude": 90,
"longitude": 90
},
"orientation": {
"heading": 0,
"pitch": -90,
"roll": 0
}
}
},
"ozone.ozone_profile": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-legend-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variables.forEach(variable => {
writeImage(variable, canvas);
} catch (err) {
// eslint-disable-next-line no-console
console.log(`No colors file found for ${variable}`, err);
console.log(`ERROR: No colors file found for ${variable}`, err);
return;
}
});
Expand Down
Loading

0 comments on commit 4d1ea82

Please sign in to comment.