cats = {
    "ANY" : {
        "table" : "cat_images_view",
        "path" : "http://web.nersc.no/project/maires/catalog/modis_l2_nrt/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
        ],
        "description" : "List of all images",
    },



    "RADARSAT2" : {
        "table" : "cat_radarsat2_view",
        "path" : "http://web.nersc.no/project/maires/catalog/radarsat2/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["polarization", 'polarization', '$value'],
            ["map", 'name', '<img src=$path|$value|_.png>'],
            ["quicklook", 'name', '<a href=$path|large/$value|_.jpg><img src=$path|$value|_.jpg></a>'],
        ],
        "description" : "List of all available Radarsat2 images",
    },



    "LANDSAT" : {
        "table" : "cat_landsat_view",
        "path" : "http://web.nersc.no/project/maires/catalog/landsat/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map", 'name', '<img src=$path|$value|_.png>', 'image with map of footprint'],
            ["quicklook1", 'name', '<img src=$path|$value_.jpg>'],
        ],
        "description" : "List of all available Landsat images",
    },



    "ASAR" : {
        "table" : "cat_asar_view",
        "path" : "http://web.nersc.no/project/maires/catalog/asar/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map", 'name', '<img src=$path|$value|_.png>', 'image with map of footprint'],
            ['water_20db', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-db-20-0-water.jpg><img src=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-db-20-0-water.jpg height=200></a>', 'quicklook, water-normalized sigma0, contrast limited to 0 - 20db'],
            ['ice_20db', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-db-20-0-ice.jpg>ice_20db</a>', 'QL, ice-normalized, 0-20 dB'],
            ['none_20db', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-db-20-0-none.jpg>none_20db</a>', 'QL, non-normalized, 0-20 dB'],
            ['water_P85', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-percentile15-85-water.jpg>water_P85</a>', 'QL, water normalized, contrast limited tp 15 - 85 percentiles'],
            ['ice_P85', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-percentile15-85-ice.jpg>ice_P85</a>', 'QL, ice-normalized, 15-85 P'],
            ['none_P85', 'name', '<a href=http://web.nersc.no/project/maires/catalog/asar/satqls/$value-percentile15-85-none.jpg>none_P85</a>', 'QL, non-normalized, 15-85 P'],
        ],
        "description" : "List of available ASAR images taken in the Arctic",
    },

    "ASAR_WIND" : {
        "table" : "cat_asar_wind_view",
        "path" : "http://web.nersc.no/project/maires/catalog/asar_wind/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map",  'name', '<img src=http://web.nersc.no/project/maires/catalog/asar/|$value|_.png>', 'image with map of footprint'],
            ['wind', 'name', '<img src=$path|$value|_.png>', 'CMOD4 wind speed and NCEP wind direction'],
        ],
        "description" : "List of available ASAR images with WIND product",
    },


    "MERIS" : {
        "table" : "cat_meris_view",
        "path" : "http://web.nersc.no/project/maires/catalog/meris/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map", 'name', '<img src=$path|$value|_.png>', 'image with map of footprint'],
            ["quicklook1", 'name', '<img src=$path|$value_.jpg>'],
        ],
        "description" : "List of available MERIS FR images taken",
    },



    "RADARSAT2ICE" : {
        "table" : "cat_radarsat2ice_view",
        "path" : "http://web.nersc.no/project/maires/catalog/radarsat2ice/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map", 'name', '<img src=$path|../radarsat2/$value|_.png>', 'image with map of footprint'],
            ["quicklook", 'name', '<a href=http://web.nersc.no/project/maires/catalog/radarsat2/large/$value|_.jpg><img src=http://web.nersc.no/project/maires/catalog/radarsat2/$value|_.jpg></a>'],
            ["ice_map", 'name', '<img src=$path|$value|_icemap.png>', 'image with ICE/WATER classification'],
        ],
        "description" : "List of Radarsat2 images processed with ice/water classification algorithms. Colors on the 'Ice Maps' mean:<br> <b>white</b> - ice;<br> <b>deep blue</b> - calm water;<br> <b>blue</b> - rough water;<br> <b>brown</b> - land;<br> <b>black</b> - non-classified pixels<br>",
    },



    "MODIS_STD" : {
        "table" : "cat_modis_std_view",
        "path" : "http://web.nersc.no/project/maires/catalog/modis_std/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["CHL", 'name', '<img src=$path|$value|_chl.jpg>', 'Chlorophyll-a'],
            ["SST", 'name', '<img src=$path|$value|_sst.jpg>', 'sea surface temperature'],
            ["RGB", 'name', '<img src=$path|$value|_rgb.jpg>', 'RGB quicklook'],
        ],
        "description" : "List of MODIS L2 images used for <a href=http://HAB.nersc.no>HAB.nersc.no</a>",
    },



    "MODIS_BOREALI" : {
        "table" : "cat_modis_boreali_view",
        "path" : "http://hab.nersc.no/NorthSea/l2/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sensor", 'sensor', '$value'],
            ["lmchl", 'name', '<img src=$path|$value|.lmchl.png>', 'chlorophyll-a'],
            ["lmtsm", 'name', '<img src=$path|$value|.lmtsm.png>', 'total suspended matter'],
            ["lmdoc", 'name', '<img src=$path|$value|.lmdoc.png>', 'dissolved organic carbon'],
            ["lmmse", 'name', '<img src=$path|$value|.lmmse.png>', 'retrieval accuracy'],
        ],
        "description" : "List of MODIS L2 images used for <a href=http://HAB.nersc.no>HAB.nersc.no</a>",
    },



    "MODIS_SST" : {
        "table" : "cat_modis_sst_view",
        "path" : "http://web.nersc.no/project/maires/catalog/modis_sst/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["path", 'path', '$value'],
            ["sst", 'name', '<a href=$path|$value|_sstc.png><img src=$path|$value|_sstcq.png></a>', 'Sea Surface Temperature Map'],
        ],
        "description" : "List of MODIS L2 SST images",
    },



    "NTSOMZ-RO2MSUE" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=MSUE&sat=RO2MSUE>quicklook</a>'],
            ],
        "description" : "List of Resours-O1_2/MSUE images at NTsOMZ",
        "db_mask" : "RO2MSUE_%",
    },



    "NTSOMZ-RO3MSUE" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=MSUE&sat=RO3MSUE>quicklook</a>'],
        ],
        "description" : "List of Resours-O1_3/MSUE images at NTsOMZ",
        "db_mask" : "RO3MSUE_%",
    },



    "NTSOMZ-RO4MSUE" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=MSUE&sat=RO4MSUE>quicklook</a>'],
        ],
        "description" : "List of Resours-O1_4/MSUE images at NTsOMZ",
        "db_mask" : "RO4MSUE_%",
    },



    "NTSOMZ-M3MMSUE" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=MSUE2&sat=M3M>quicklook</a>'],
        ],
        "description" : "List of Meteor-3M/MSUE images at NTsOMZ",
        "db_mask" : "M3MMSUE_%",
    },



    "NTSOMZ-OO1MSUSK" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
                ["name", 'name', '$value'],
                ["date", 'sensstart', '$value'],
                ["sensor", 'sensor', '$value'],
                ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=MSUSK&sat=OO1MSUSK>quicklook</a>'],
        ],
        "description" : "List of Okean-O1/MSUSK images at NTsOMZ",
        "db_mask" : "OO1MSUSK_%",
    },



    "NTSOMZ-MEPSA" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=PSA&sat=MEPSA>quicklook</a>'],
        ],
        "description" : "List of Monitor-E/PSA images at NTsOMZ",
        "db_mask" : "MEPSA_%",
    },



    "NTSOMZ-MERDSA" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|_0.jpg&iid=RDSA&sat=MERDSA>quicklook</a>'],
        ],
        "description" : "List of Monitor-E/RDSA images at NTsOMZ",
        "db_mask" : "MERDSA_%",
    },



    "NTSOMZ-MM1KMSS" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=KMSS&sat=MM1KMSS>quicklook</a>'],
        ],
        "description" : "List of Meteor-M1/KMSS images at NTsOMZ",
        "db_mask" : "MM1KMSS_%",
    },



    "NTSOMZ-MM1BRLK" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|.jpg&iid=BRLK&sat=MM1BRLK>quicklook</a>'],
        ],
        "description" : "List of Meteor-M1/BRLK images at NTsOMZ",
        "db_mask" : "MM1BRLK_%",
    },



    "ASTER" : {
        "table" : "cat_images_view",
        "path" : "http://maires.ntsomz.ru/Database/quicklook.php?img=",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
        ],
        "description" : "List of ASTER images at NERSC",
        "db_mask" : "AST_L1A_%",
    },


    "AMSR2" : {
        "table" : "cat_amsr2_view",
        "path" : "http://web.nersc.no/project/maires/catalog/amsr2/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["quicklook", 'name', '<a href=$path|$value|_.jpg><img src=$path|$value|_.jpg width=100></a>', 'RGB composite from bands 6H, 18V, 36V'],
        ],
        "description" : "List of AMSR2 images at NERSC",
    },

    "Sentinel-1" : {
        "table" : "cat_sentinel1_view",
        "path" : "http://web.nersc.no/project/maires/catalog/sentinel1/",
        "fields" : [
            ["name", 'name', '$value'],
            ["date", 'sensstart', '$value'],
            ["sensor", 'sensor', '$value'],
            ["map", 'name', '<img src=$path|$value|_.png>'],
            ["quicklook", 'name', '<a href=$path|large/$value|_.jpg><img src=$path|$value|_.jpg></a>'],
        ],
        "description" : "List of Sentinel-1 images at NERSC",
    },

}
