#HDFLook template: Cloud Mask verbose clear_data set_projection_to_geometry ProjectionTo=AZIMUTHAL PIXELSIZEXTO=4000 PIXELSIZEYTO=4000 set_misc_options AutoAdjust=Yes set_image_background Color=Grey0 add_text x=1 y=0 ForegroundColor="Black" BackgroundColor="White" \ Border=0 FontName="Verdanab.ttf" SizeFactor=1.0 Rotation=0 \ Text="Terra MODIS 2011045 1539 UTC" add_text x=1 y=15 ForegroundColor="Black" BackgroundColor="White" \ Border=0 FontName="Verdanab.ttf" SizeFactor=1.0 Rotation=0 \ Text="Cloud Mask (Green=Clear; Cyan=Probable Clear; Red=Uncertain; White=Cloud)" set_input_hdf_file "MOD35_L2.2011045.1539.hdf" select_sds SDSname="Cloud_Mask" set_sds_enhance min=0 max=255 set_color_scale_name "palette_mask.txt" add_maps Coastlines=Yes Boundaries=Yes CoastlineColor="Yellow" BoundaryColor="Yellow" add_grids Color=White LatitudeMin=-90 LatitudeMax=90 LatitudeStep= 5 \ LongitudeMin=-180 LongitudeMax=180 LongitudeStep=5 add_latitude_labels ForegroundColor="Black" BackgroundColor="White" \ Border=0 FontName="Verdanab.ttf" \ SizeFactor=0.8 Rotation=0. Format="%.1f" \ LatitudeMin=-90 LatitudeMax=90 LatitudeStep=5 add_longitude_labels ForegroundColor="Black" BackgroundColor="White" \ Border=0 FontName="Verdanab.ttf" \ SizeFactor=0.8 Rotation=90. Format="%.1f" \ LongitudeMin=-180 LongitudeMax=180 LongitudeStep=5 create_MODIS_SDS_GEOTIFF_image FileName="mask.tif"