| verbose |
| clear_data |
| set_output_directory |
/home/louis/OUTPUTS |
| set_input_directory |
/home/louis/MODIS_ALL_IMAGES/ |
| set_projection_to_geometry |
ProjectionTo="LINEAR" |
| set_input_hdf_file |
MOD09A1.A2001073.h29v13.003.2001198121606.hdf |
| set_color_scale_name |
RAINBOW0 |
| set_image_background |
color=GREY0 |
| add_maps |
Coastlines=yes Rivers=yes Boundaries=yes CoastlineColor=Green RiverColor=Blue BoundaryColor=magenta |
| add_grids |
color=White LatitudeMin=-90 LatitudeMax=90 LatitudeStep=2 LongitudeMin=-180 LongitudeMax=180 LongitudeStep=2 |
| add_earth_icon |
x=10 y=10 width=150 height=150 |
| add_scale_to_image |
x=600 y=900 width=400 height=100 TickColor=White ForegroundColor=Black backgroundColor=White TextFormat="%.1f" FontName=Courb.ttf SizeFactor=1.0 UpLeftSide=Yes NoTicks=No Labels="0 computed 63 computed 127 computed 255 computed" |
| select_SDS |
SDSname="sur_refl_b01" |
| set_SDS_enhance |
min=0 max=.5 |
| add_text |
x=10 y=512 ForegroundColor="YELLOW" BackgroundColor="TRANSPARENT" Border=0 FontName="Courb.ttf" SizeFactor=4.0 Rotation=30.0 Text="MODIS MOD09A1 SDS PRODUCT" |
| add_text |
x=750 y=970 ForegroundColor="White" BackgroundColor="TRANSPARENT" Border=2 FontName="Bell.ttf" SizeFactor=1.0 Rotation=0.0 Text="Reflectance scale" |
| add_latitude_labels |
ForegroundColor="Red" BackgroundColor="White" Border=0 FontName="Courb.ttf" SizeFactor=1.0 Rotation=0. Format="%.1f" LatitudeStep=4 |
| add_longitude_labels |
ForegroundColor="Red" BackgroundColor="White" Border=0 FontName="Courb.ttf" SizeFactor=1.0 Rotation=0. Format="%.1f" LongitudeStep=4 |
| create_MODIS_SDS_JPEG_image |
FileName="O9A1_SDS_JPEG.jpg" width=1024 height=1024 Index=1 Scaling="y=ax+b" |