Read the statement by Michael Teeuw here.
MMM-Globe
-
Hi,
i replacded the original links in the MMM-Globe.js for the image with this:start: function () { self = this; this.url = ''; this.imageUrls = { 'natColor': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg', 'geoColor': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_IR108Color_LowResolution.jpg', 'airMass': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBAirmass_LowResolution.jpg', 'fullBand': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_MPE_LowResolution.png' } this.hiResImageUrls = { 'natColor': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg', 'geoColor': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_IR108Color_LowResolution.jpg', 'airMass': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBAirmass_LowResolution.jpg', 'fullBand': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_MPE_LowResolution.png' }
good luck
-
EUMETSAT_MSG_MPE_LowResolution.png’
That’s great! I did this:
start: function () { self = this; this.url = ''; this.imageUrls = { 'natColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_natural_color.jpg', 'geoColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_true_color.jpg', 'airMass': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/full_disk_ahi_rgb_airmass.jpg', 'fullBand': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/himawari-8_band_03_sector_02.gif', 'europeDiscNat': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg', 'europeDiscSnow': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBSolarDay_CentralEurope.jpg' } this.hiResImageUrls = { 'natColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_natural_color.jpg', 'geoColor': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_true_color.jpg', 'airMass': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/himawari-8/full_disk_ahi_rgb_airmass.jpg', 'fullBand': 'http://rammb.cira.colostate.edu/ramsdis/online/images/latest/himawari-8/himawari-8_band_03_sector_02.gif', 'europeDiscNat': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBNatColour_LowResolution.jpg', 'europePartSnow': 'http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGBSolarDay_CentralEurope.jpg' } console.log(this.imageUrls[this.config.style]);
So, you can choose from more Images.
- europeDiscNat: natural Color Europe Picture
- europeDiscSnow: snow!!! ;)
config.js
{ module: 'MMM-Globe', position: 'center', config: { style: 'europeDiscNat', imageSize: 600, ownImagePath:'', updateInterval: 10*60*1000 } },
If I have a bit more time, I’d like to add the standard ones and make a pull request to choose from. There’s a list of (near) real-time images from EUMETSAT: http://oiswww.eumetsat.org/IPPS/html/latestImages.html
-
EUMETSAT_MSG_RGBNatColour_LowResolution.jpg
only Problem with these images are the white bottomline, on my MM it looks like this:
sadly, there’s some white capping down there, but I guess we have to live with that - real time cropping of images won’t make the PIs any faster! ;)
-
yes, i know. That’s the south pole. ;-))
Pull request, good idea.
The Images are better then nothing.
I searched for a better view for Europe with full disk, but nothing found.Maybe other sources from other user here?
-
@binderth niiiice! :)
-
@binderth the globe is cut at south pole area, i think the white slice down there is the background color
so i think the module cut a circle out of the webpage and down there is some part of the earth missing, or out of view. Also i got another issue: If I´m using the random Photo Module as background, i see a small black border around the full globe. So to fix that, there must be an adjustment for the size of the cutting circle. But anyway the main problem with that white slice is, the image source.
-
If I have a bit more time, I’d like to add the standard ones and make a pull request to choose from. There’s a list of (near) real-time images from EUMETSAT: http://oiswww.eumetsat.org/IPPS/html/latestImages.html
Very nice work!
It would be awesome, if you could add the real time images!
Sebastian
-
@shgmongohh that would be awesome! thank you in advance :)
-
@schlachtkreuzer6
Hey guys,
I was able to cut the white bar by cutting the last pixels (depending on the image size) from this image with adding the following to MMM-Globe.jsgetDom: function () { var wrapper = document.createElement("div"); if (this.config.style == "europeDiscNat") { wrapper.style.height = 0.98 * this.config.imageSize - 1 + "px"; wrapper.style.overflow = "hidden"; } var image = document.createElement("img");
-
@SvenSommer Nice work! Thanks. Post it on github as well :)