Load this example
# Create a reprojected MOSAIC file from a set of AIRS HDF files
#========================================================================
| verbose |
| clear_data |
| set_output_directory |
/data2/home/louis/OUTPUTS |
| set_input_directory |
/net/bratmos/data4/dayTime/nightTime/ |
| set_projection_to_geometry |
ProjectionTo="LINEAR" WidthTo=3000 HeightTo=1500 LatitudeMinTo=-90.0 LatitudeMaxTo=90.0 LongitudeMinTo=-180.0 LongitudeMaxTo=180.0 |
# ====================== jpeg control file settings === CreateJPEG=yes =================
| add_maps |
Coastlines=yes Rivers=No Boundaries=No CoastlineColor=Green |
| add_grids |
color=Black LatitudeMin=-90 LatitudeMax=90 LatitudeStep=10 LongitudeMin=-180 LongitudeMax=180 LongitudeStep=10 |
| add_text |
x=10 y=30 ForegroundColor="red" BackgroundColor="TRANSPARENT" Border=0 FontName="Bell.ttf" SizeFactor=3.0 Rotation=0.0 "AIRS (Night) TSurfStd (HDFlook_MODIS Mosaic)" |
| add_latitude_labels |
ForegroundColor="yellow" BackgroundColor="TRANSPARENT" Border=0 FontName="Bell.ttf" SizeFactor=1.5 Rotation=0. Format="%.1f" Longitude=-160 LatitudeMin=-90 LatitudeMax=90 LatitudeStep=20 |
| add_longitude_labels |
ForegroundColor="yellow" BackgroundColor="TRANSPARENT" Border=0 FontName="Bell.ttf" SizeFactor=1.5 Rotation=0. Format="%.1f" Latitude=-80 LongitudeMin=-180 LongitudeMax=180 LongitudeStep=20 |
| add_scale_to_image |
x=2200 y=50 width=400 height=100 TickColor=white ForegroundColor=Black backgroundColor=White TextFormat="%.1f" FontName=Courb.ttf SizeFactor=1.2 UpLeftSide=Yes NoTicks=No Labels="0 computed 63 computed 127 computed 191 computed 255 computed" |
| set_color_scale_name |
RAINBOW0 |
| set_image_background |
color=white |
| set_SDS_enhance |
min=220 max=320 |
# ========================================================================================
| select_SDS |
SDSname="TSurfStd" |
| set_input_hdf_file |
/net/bratmos/data4/nightTime/AIRS.2000* |
| create_MODIS_SDS_Mosaic |
FileName="AIRSNightTSurfStd" ClearFile=Yes BottomPixelFiller=2 CreateJPEG=yes |
