It is currently March 28th, 2024, 4:15 pm

Weather SKIN REQUEST

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Weather SKIN REQUEST

Post by vHAPpY »

Is requesting skin appropriate here?

Just want to ask a Animated Weather Imagery rainmeter skin using http://rammb.cira.colostate.edu/ sat imagery if possible .

i have 2 resources for now just this images problem is the code. sorry for requesting im noob at coding just want to ask if whose willing to create a skin for me. thanks in advance

imagery update always seems difficult for me i guess too easy for you fellas

Here's the link http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720

Image
top.png
back.png
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Weather SKIN REQUEST

Post by FreeRaider »

User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

okay as the forum says " can u help me rather to make it? please?
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

Let's start with something basic: downloading and displaying the image. I'm not sure which image would you like to get, you've posted more URLs, I tried with that from the http://rammb.cira.colostate.edu/
The following code will download and show this image:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Variables]

[MeasureImage]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/images/himawari_20150331_0200_band13_150px.png
Download=1
UpdateRate=1800

[MeterImage]
Meter=Image
MeasureName=MeasureImage
X=0
Y=0
Please let me (us) know, what else would you like to do.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Very thank you Mr. Balala.

The link is this http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720

I want those images to loop Mr. Whats the code for it to download and animate them and update them too? Thank you for your reply
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Very thank you Mr. Balala.

The link is this http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720 by thumbnails so that it is just small :D

I guess those imagery are updated every 10 minutes taken by HIMAWARI-8 SAT and they are updated BY YEAR,DATE,HOUR, AND MINUTES I GUESS (0000,2000,3000,4000,5000)

Just seen them via their filename
philippines_true_color_20161201124000.jpg
philippines_true_color_20161201123000.jpg
philippines_true_color_20161201122000.jpg
philippines_true_color_20161201121000.jpg
philippines_true_color_20161201120000.jpg
I want those images to loop Mr. Whats the code for it to download and animate them and update them too? Thank you for your reply

I'm aware that there are too many images and if it is possible to be a .gif one so that it is easy.

Like Sphynx Animated Weather Map
Attachments
Sphynx.png
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Weather SKIN REQUEST

Post by FreeRaider »

Have a look at https://forum.rainmeter.net/viewtopic.php?p=126154#p126154

That is a sample skin.
Certainly, you have to change it, but it can be a good starting point.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

:?
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:I'm aware that there are too many images and if it is possible to be a .gif one so that it is easy.
Rainmeter can't handle directly the animated gifs, so this wouldn't be a good approach (you can take a look at this).
Now a first solution: you'll need a parent WebParser measure, which will take the URLs of the images:

Code: Select all

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
RegExp=(?siU)#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#
FinishAction=[!EnableMeasureGroup "Images"][!CommandMeasure "MeasureImage0" "Update"][!CommandMeasure "MeasureImage1" "Update"][!CommandMeasure "MeasureImage2" "Update"][!CommandMeasure "MeasureImage3" "Update"][!CommandMeasure "MeasureImage4" "Update"][!CommandMeasure "MeasureImage5" "Update"][!CommandMeasure "MeasureImage6" "Update"][!CommandMeasure "MeasureImage7" "Update"][!CommandMeasure "MeasureImage8" "Update"][!CommandMeasure "MeasureImage9" "Update"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"]
We'll need the FinishAction, a bit later.
The following child measures will take the dates and the URL of the images:

Code: Select all

[MeasureDate0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=1

[MeasureImageURL0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=2
IfMatch=^$
IfMatchAction=[!SetVariable Img0 "0"]
IfNotMatchAction=[!SetVariable Img0 "1"]

[MeasureDate1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=3

[MeasureImageURL1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=4
IfMatch=^$
IfMatchAction=[!SetVariable Img1 "0"]
IfNotMatchAction=[!SetVariable Img1 "1"]

[MeasureDate2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=5

[MeasureImageURL2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=6
IfMatch=^$
IfMatchAction=[!SetVariable Img2 "0"]
IfNotMatchAction=[!SetVariable Img2 "1"]

[MeasureDate3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=7

[MeasureImageURL3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=8
IfMatch=^$
IfMatchAction=[!SetVariable Img3 "0"]
IfNotMatchAction=[!SetVariable Img3 "1"]

[MeasureDate4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=9

[MeasureImageURL4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=10
IfMatch=^$
IfMatchAction=[!SetVariable Img4 "0"]
IfNotMatchAction=[!SetVariable Img4 "1"]

[MeasureDate5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=11

[MeasureImageURL5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=12
IfMatch=^$
IfMatchAction=[!SetVariable Img5 "0"]
IfNotMatchAction=[!SetVariable Img5 "1"]

[MeasureDate6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=13

[MeasureImageURL6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=14
IfMatch=^$
IfMatchAction=[!SetVariable Img6 "0"]
IfNotMatchAction=[!SetVariable Img6 "1"]

[MeasureDate7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=15

[MeasureImageURL7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=16
IfMatch=^$
IfMatchAction=[!SetVariable Img7 "0"]
IfNotMatchAction=[!SetVariable Img7 "1"]

[MeasureDate8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=17

[MeasureImageURL8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=18
IfMatch=^$
IfMatchAction=[!SetVariable Img8 "0"]
IfNotMatchAction=[!SetVariable Img8 "1"]

[MeasureDate9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=19

[MeasureImageURL9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=20
IfMatch=^$
IfMatchAction=[!SetVariable Img9 "0"]
IfNotMatchAction=[!SetVariable Img9 "1"]
When these measures get the URLs, they should be used to download the appropriate images, through the following measures:

Code: Select all

[MeasureImage0]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL0]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage1]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL1]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage2]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL2]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage3]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL3]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage4]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL4]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage5]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL5]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage6]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL6]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage7]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL7]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage8]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL8]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL9]
Download=1
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images
Note that these measures are initially disabled, but they will be enabled and updated by the FinishAction option of the[MeasureImagesURL] measure, when it parsing the information.
The total number of the images can be calculated summing the Img0 - Img9 variables. This is done by the following measure and also this measure will count from 0 up to the number of images (when the FinishAction of the [MeasureImagesURL] measure enables it):

Code: Select all

[MeasureTimer]
Measure=Calc
Formula=( COUNT % ( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# ))
DynamicVariables=1
Disabled=1
Now the image and its date should be shown by an image and a string meter:

Code: Select all

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
Hidden=1
DynamicVariables=1
Group=ImgDat

[MaterDates]
Meter=STRING
MeasureName=MeasureDate[MeasureTimer]
X=([MeterImages:W]/2)
Y=-3R
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTERBOTTOM
AntiAlias=1
Text=%1
DynamicVariables=1
Hidden=1
Group=ImgDat
I hope you'll be able to create the skin, based on this description. Please let me know if really are.
User avatar
FreeRaider
Posts: 826
Joined: November 20th, 2012, 11:58 pm

Re: Weather SKIN REQUEST

Post by FreeRaider »

balala, you have forgotten to indicate the item variable
Post Reply