You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ts=New-TimeSpan-Hours -2-Minutes -30#Number of hours and minutes to add/subtract to the date. Adjust this to offset your system date to around about GMT (I think?)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ts=New-TimeSpan-Hours -2-Minutes -30#Number of hours and minutes to add/subtract to the date. Adjust this to offset your system date to around about GMT (I think?)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background.
#
# http://himawari8.nict.go.jp/himawari8-image.htm
#
#
$ts=New-TimeSpan-Hours -2-Minutes -30#Number of hours and minutes to add/subtract to the date. Adjust this to offset your system date to around about GMT (I think?)
$now= ((Get-Date-Second 00) +$ts)
$now=$now.AddMinutes(-($now.minute%10))
$width=550
$level="4d"#Level can be 4d, 8d, 16d, 20d
$numblocks=4#this apparently corresponds directly with the level, keep this exactly the same as level without the 'd'
$time=$now.ToString("HHmmss")
$year=$now.ToString("yyyy")
$month=$now.ToString("MM")
$day=$now.ToString("dd")
#Create the folder My Pictures\Himawari\ if it doesnt exist