MAP NAME "{{ platform_long_name }} ABI {{ sector_long_name }} L1b Layers" STATUS ON IMAGETYPE rgb SIZE 256 256 EXTENT -5434894.885 -5434894.885 5434894.885 5434894.885 PROJECTION "{{ projection }}" END WEB METADATA "wms_title" "CSPP Geo Geo2Grid Viewer" "wms_onlineresource" "https://myhost/mapserv" "wms_enable_request" "*" END END INCLUDE '/work/mapfiles/output_formats.map' {% for product in products %} # {{ product.replace('_', ' ').title() }} # LAYER NAME "{{ product }}_index" TYPE TILEINDEX DATA "{{ layer_base_dir }}/{{ platform }}/abi/{{ sector }}/{{ product }}/{{ product }}" END LAYER NAME "{{ product }}" TYPE RASTER TILEITEM "location" TILEINDEX "{{ product }}_index" # Comment below to default to transparency OFFSITE 0 0 0 PROJECTION "{{ projection }}" END METADATA "wms_title" "{{ platform_long_name }} ABI {{ product.replace('_', ' ').title() }}" "wms_extent" "-180 -90 180 90" "wms_timeextent" "2017-01-01/2040-12-31" "wms_timeformat" "YYYY-MM-DDTHH:MM:SS" "wms_timeitem" "time" # time is a metadata item "wms_timedefault" "2019-12-12T19:20:18" "wms_enable_request" "*" END FILTER (`[time]` = `2019-12-12T19:20:18`) END # goes raster layer ends here {% endfor %} END # end of map file