Meteoinfolab Script Example: AMSR-E satellite data projection

Source: Internet
Author: User

The LAND3 data in the AMSR-E (http://nsidc.org/data/amsre/index.html) data is HDF-EOS4 format, and the projection is Cylindrical_equal_area. Here the sample reads the data and projects it to the latitude and longitude projection.

Script Program:

#Add Data Filefn ='AMSR_E_L3_DAILYLAND_V06_20091231.HDF'F= AddFile (Os.path.join ('D:/TEMP/HDF', FN))#vname = ' d_soil_moisture 'VName ='A_tb36.5h_ (res_1)'Data= F[vname][::-1,:]data[data==0] = 9999Data.fill_value=-9999Data= Data * 0.1yn=data.dimlen (0) Xn= Data.dimlen (1)#Project DataToproj = Projinfo ()#Longlat Projectionx = Linspace (-180, 180, xn) y= Linspace (-90, 90, yn) lon, lat=Meshgrid (x, y) data= Data.project (lon, LAT, toproj=toproj)#PlotAXESM (tickfontsize=12) Mlayer= Shaperead ('d:/temp/map/country1.shp') geoshow (Mlayer, Edgecolor='k') Levs= Arange (140, 320, 10) Layer=imshowm (x, y, data, Levs) Colorbar (layer, FontSize=12) Xticks (Arange (-180, 181, 30)) Yticks (Arange (-90, 91, 30) title ([FN, VName])

Meteoinfolab Script Example: AMSR-E satellite data projection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.