It is currently March 28th, 2024, 1:51 pm

Weather SKIN REQUEST

Get help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Weather SKIN REQUEST

Post by eclectic-tech »

Your code works, but needs a few changes. The entire corrected code is below.

What I changed:

1) The original measures to download weather images still have the code to substitute the thumbnail images, so half you images are 200x140 resolution, while the new ones (10~19) are 1020x720! :uhuh:
Remove or comment out (as I did in this code):

Code: Select all

; RegExpSubstitute=1
; Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
in sections [MeasureImageURL0]~[MeasureImageURL9]. Now all of the measures are downloading the hi-res images.

2) I re-arranged the image meters to position the 'Shoreline' image above the weather images, and below the top.
I added Group=ImgDat to the 'Shoreline' image meter, and removed the SolidColor option (it is not needed).

3) Now that you are using hi-res images, you need to add PreserveAspectRatio=2 and W=200 to the weather images section [MeterImages].
Here are those sections in the new order:

Code: Select all

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
W=200
PreserveAspectRatio=2
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

[MeterBottom]
Meter=Image
ImageName="#@#images\webcam\top2.png"
X=0
Y=0
UpdateDivider=-1
;SolidColor=80,80,80,220
Hidden=1
Group=ImgDat

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1

** Here is the entire code with the changes,
it should work as you intended using 20 hi-res images:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
Background=#@#images\webcam\back.png

[Metadata]
Name=Himawari8RealTimePHSat
Author=vHAPpY;Thanks to:fonpaolo;FreeRaider;balala; mak_kawa for helping me
Information=Imagery by JMA/MSC: Himawari Real-Time Image via CIRA/RAMMB, NOAA NESDIS and CIRA
License=Creative Commons BY-NC-SA 3.0
Version=1

[Variables]
Item=.*<td>(.*)</td>.*<td><input type="radio" name="starting_image" value=".*"  /></td>.*<td><a href="(.*)" target="_blank" .*</td>.*</tr>

[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##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"][!CommandMeasure "MeasureImage10" "Update"][!CommandMeasure "MeasureImage11" "Update"][!CommandMeasure "MeasureImage12" "Update"][!CommandMeasure "MeasureImage13" "Update"][!CommandMeasure "MeasureImage14" "Update"][!CommandMeasure "MeasureImage15" "Update"][!CommandMeasure "MeasureImage16" "Update"][!CommandMeasure "MeasureImage17" "Update"][!CommandMeasure "MeasureImage18" "Update"][!CommandMeasure "MeasureImage19" "Update"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"]

[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"]

[MeasureDate10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=21

[MeasureImageURL10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=22
IfMatch=^$
IfMatchAction=[!SetVariable Img10 "0"]
IfNotMatchAction=[!SetVariable Img10 "1"]

[MeasureDate11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=23

[MeasureImageURL11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=24
IfMatch=^$
IfMatchAction=[!SetVariable Img11 "0"]
IfNotMatchAction=[!SetVariable Img11 "1"]

[MeasureDate12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=25

[MeasureImageURL12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=26
IfMatch=^$
IfMatchAction=[!SetVariable Img12 "0"]
IfNotMatchAction=[!SetVariable Img12 "1"]

[MeasureDate13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=27

[MeasureImageURL13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=28
IfMatch=^$
IfMatchAction=[!SetVariable Img13 "0"]
IfNotMatchAction=[!SetVariable Img13 "1"]

[MeasureDate14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=29

[MeasureImageURL14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=30
IfMatch=^$
IfMatchAction=[!SetVariable Img14 "0"]
IfNotMatchAction=[!SetVariable Img14 "1"]

[MeasureDate15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=31

[MeasureImageURL15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=32
IfMatch=^$
IfMatchAction=[!SetVariable Img15 "0"]
IfNotMatchAction=[!SetVariable Img15 "1"]

[MeasureDate16]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=33

[MeasureImageURL16]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=34
IfMatch=^$
IfMatchAction=[!SetVariable Img16 "0"]
IfNotMatchAction=[!SetVariable Img16 "1"]

[MeasureDate17]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=35

[MeasureImageURL17]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=36
IfMatch=^$
IfMatchAction=[!SetVariable Img17 "0"]
IfNotMatchAction=[!SetVariable Img17 "1"]

[MeasureDate18]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=37

[MeasureImageURL18]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=38
IfMatch=^$
IfMatchAction=[!SetVariable Img18 "0"]
IfNotMatchAction=[!SetVariable Img18 "1"]

[MeasureDate19]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=39

[MeasureImageURL19]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=40
IfMatch=^$
IfMatchAction=[!SetVariable Img19 "0"]
IfNotMatchAction=[!SetVariable Img19 "1"]

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

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

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

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

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

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

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

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

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

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL9]
Download=1
DownloadFile=Images\Img9.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage10]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL10]
Download=1
DownloadFile=Images\Img10.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage11]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL11]
Download=1
DownloadFile=Images\Img11.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage12]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL12]
Download=1
DownloadFile=Images\Img12.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage13]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL13]
Download=1
DownloadFile=Images\Img13.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage14]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL14]
Download=1
DownloadFile=Images\Img14.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage15]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL15]
Download=1
DownloadFile=Images\Img15.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage16]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL16]
Download=1
DownloadFile=Images\Img16.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage17]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL17]
Download=1
DownloadFile=Images\Img17.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage18]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL18]
Download=1
DownloadFile=Images\Img18.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage19]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL19]
Download=1
DownloadFile=Images\Img19.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureTimer]
Measure=Calc
Formula=(( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# + #Img10# + #Img11# + #Img12# + #Img13# + #Img14# + #Img15# + #Img16# + #Img17# + #Img18# + #Img19# ) - ( COUNT % ( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# + #Img10# + #Img11# + #Img12# + #Img13# + #Img14# + #Img15# + #Img16# + #Img17# + #Img18# + #Img19# )) - 1 )
DynamicVariables=1
Disabled=1

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
W=200
PreserveAspectRatio=2
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

[MeterBottom]
Meter=Image
ImageName="#@#images\webcam\top2.png"
X=0
Y=0
UpdateDivider=-1
;SolidColor=80,80,80,220
Hidden=1
Group=ImgDat

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1

:great:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Weather SKIN REQUEST

Post by eclectic-tech »

@vHAPpY

After spending some more time looking at the code, I realized the code I posted doesn't really take advantage of the high resolution images...

You were downloading thumbnail resolution images for meters 0~9 and high resolution images for meters 10~19... but, you were restricting the display to the size of the thumbnail images. So you are not gaining any real advantage by downloading the larger high resolution images.

To hopefully help you take advantage of the higher resolution images it was simpler for me to construct 2 skins, one using the low res thumbnails and one using high resolution images.

You are welcome to look at these and use them (or not) :thumbup: ... I put them in a rmskin because I added some larger versions of some of the images (colorbars, shoreline, and top) and added a separate folder for the high res images.
Attachments
Himawari8Test_0.2017.01.29.rmskin
(94.64 KiB) Downloaded 29 times
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

eclectic-tech wrote:After spending some more time looking at the code, I realized the code I posted doesn't really take advantage of the high resolution images...
eclectic-tech, that's why I've started do use the high resolution images: https://forum.rainmeter.net/viewtopic.php?p=130568#p130568 (see the last sentence).
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Weather SKIN REQUEST

Post by eclectic-tech »

balala wrote:eclectic-tech, that's why I've started do use the high resolution images: https://forum.rainmeter.net/viewtopic.php?p=130568#p130568 (see the last sentence).
Yes, but the code vHAPpY posted did not take advantage of the high resolution, even though he was downloading them for images 10~19... but still downloading lower resolution thumbnails for images 0~9 :o

After looking closer, I thought I had better explain that and offer 2 version. One for each image size (low/high resolution).
Of course, that meant the back, top, and shoreline images also needed to be enlarged and a location for hi-res images separate from the original style...

That's why I created a package with vHAPpY's code in 2 skins with new images... :)

Do you think I went too far? :oops: :uhuh:

I will leave it up to vHAPpY as to how he wants to proceed...
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

eclectic-tech wrote:Do you think I went too far? :oops: :uhuh:

I will leave it up to vHAPpY as to how he wants to proceed...
No, you didn't. In my opinion downloading the low resolution images is much better, a such skin don't need to large images, but you're right, let's see what vHAPpY says.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

yay :D really thank you gonna try this mr. eclec :D

any improvement in my skin guys? really need some of your info :D or suggestions :uhuh: :uhuh:

is it possible to create a settings.txt/ini for it ? like example inside the settings code are the URL Link of every country that have GEOCOLOR IMAGERY

Settings.txt

Code: Select all

[Variables]

MapArea=asph_phil

; available for the Himawari8RealTimePHSatellite.ini variant:

; asph_phil     	http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
at Himawari8RealTimePHSatellite.ini I will add these lines

Code: Select all

[Rainmeter]
Update=1000
ContextTitle="Edit settings"
ContextAction=["#@#settings\settings.txt"]
Last edited by vHAPpY on January 30th, 2017, 11:46 am, edited 1 time in total.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

You got it right Mr. ecLEC.

I prefer the Low res one so that ill just take seconds to download those imagery then displays faster :thumbup: :thumbup:
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

BTW can I create my own Shoreline so that it suits the imagery itself?
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:is it possible to create a settings.txt/ini for it ? like example inside the settings code are the URL Link of every country that have GEOCOLOR IMAGERY
Saving the settings of the skin can be done in any kind of file (txt, ini, or whatever), but usually an .inc is preferably. The skin will be able to use these settings if you add (probably the best place for this option would be the [Variables] section) the following option: @Include=#@#settings\settings.inc. Details: https://docs.rainmeter.net/manual/skins/include-option/
This way, any variable defined into the settings.inc file can be accessed as it would be defined into the ini file itself. Obviously you have to modify the ContextAction accordingly.
vHAPpY wrote:I prefer the Low res one so that ill just take seconds to download those imagery then displays faster :thumbup: :thumbup:
Downloading the smaller images is preferable, because it'll be done quicker. Plus in this case, because the size of the downloaded small images is 200x141 pixels, the skin don't have to resize them. It's much better, in my opinion.
To determine the skin to download the smaller images, just add to each of the [MeasureImageURL0] - [MeasureImageURL19] measures (or how many do you have, if you've added further ones), the following options:

Code: Select all

[MeasureImageURL0]
...
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
(leave untouched the other options).
vHAPpY wrote:BTW can I create my own Shoreline so that it suits the imagery itself?
Probably, you'll have to use a graphics software (Photoshop, Paint.NET, Gimp or whatever). I can't help here, probably someone here on the forum will.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

is my code correct ?

Code: Select all

[Variables]

MapArea=asph_phil

; available for the Himawari8RealTimePHSatellite.ini variant:

; asph_phil        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
will it direct to that link and download the images?
Post Reply