中央气象台的卫星云图的图片仔细观察其实是有规律的,网上找了很久都没有找到一点相关的东西,大家可以打开风云二号卫星云图后查看图片属性比对看看,我这里整理出来前一天早上8:00到第二天早上8:00的图片路径:

(随后附上源代码!)

2014-01-13
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113000000000.JPG  8:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113003000000.JPG  8:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113010000000.JPG  9:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113013000000.JPG  9:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113020000000.JPG  10:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113023000000.JPG  10:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113030000000.JPG  11:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113033000000.JPG  11:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113040000000.JPG  12:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113043000000.JPG  12:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113050000000.JPG  13:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113053000000.JPG  13:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113060000000.JPG  14:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113063000000.JPG  14:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113070000000.JPG  15:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113073000000.JPG  15:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113080000000.JPG  16:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113083000000.JPG  16:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113090000000.JPG  17:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113093000000.JPG  17:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113100000000.JPG  18:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113103000000.JPG  18:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113110000000.JPG  19:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113113000000.JPG  19:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113020000000.JPG  20:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113023000000.JPG  20:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113030000000.JPG  21:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113033000000.JPG  21:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113040000000.JPG  22:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113043000000.JPG  22:30
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113050000000.JPG  23:00
http://image.weather.gov.cn/product/2014/201401/20140113/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113053000000.JPG  23:30




2014-01-14
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113160000000.JPG 00:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113163000000.JPG 00:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113170000000.JPG 01:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113173000000.JPG 01:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113180000000.JPG 02:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113183000000.JPG 02:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113190000000.JPG 03:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113193000000.JPG 03:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113200000000.JPG 04:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113203000000.JPG 04:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113321000000.JPG 05:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113221300000.JPG 05:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113220000000.JPG 06:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113223000000.JPG 06:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113230000000.JPG 07:00
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140113233000000.JPG 07:30
http://image.weather.gov.cn/product/2014/201401/20140114/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_20140114000000000.JPG 08:00
最后的url其实就是这样的,大家看看就明白了,只有中间的三块和后面的代码地址是需要变动的:

string url = "http://image.weather.gov.cn/product/" + dt.Year.ToString() + "/" + dt.Year.ToString() + dt.Month.ToString().PadLeft(2, '0')
                + "/" + dt.Year.ToString() + dt.Month.ToString().PadLeft(2, '0') + dt.Day.ToString().PadLeft(2, '0')
                + "/WXCL/medium/SEVP_NSMC_WXCL_ASC_E99_ACHN_LNO_PY_";
            url = url + name + ".JPG";
最后效果如图:

终于大功告成,感谢同事和朋友的指点帮忙!感谢波波同学!
源代码下载


本文转载:CSDN博客