<?php
require_once "../../config/settings.inc.php";
require_once "../../include/myview.php";
$t = new MyView();
$t->title = "RADAR + Satellite Data";

$tm1 = gmdate("Ymd", time() - 86400);
$t->content = <<<EOM
<nav aria-label="breadcrumb">
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="/current/">Current Conditions</a></li>
        <li class="breadcrumb-item active" aria-current="page">RADAR and Satellite Data</li>
    </ol>
</nav>

<header class="mb-4">
    <h1 class="h3 mb-3">RADAR and Satellite Data</h1>
    <p class="mb-0">This page collects current IEM radar mosaics, raw NEXRAD Level II data sources, GIS web mapping tools, and satellite archive links in one place.</p>
</header>

<div class="alert alert-info" role="status">
    Use these links to move between realtime viewing tools, archived mosaic products, and external raw-data services.
</div>

<div class="row g-4">
    <div class="col-lg-6">
        <section class="card shadow-sm h-100">
            <div class="card-body">
                <h2 class="h5 card-title">Mosaic Products</h2>
                <p class="card-text">The IEM generates <a href="/docs/nexrad_mosaic/">mosaics</a> from NWS NEXRAD data. These mosaics drive several realtime and archive products across the site.</p>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item px-0"><a href="/one/">IEM One</a><br><span class="text-body-secondary">Modern interactive map interface.</span></li>
                    <li class="list-group-item px-0"><a href="mcview.phtml?prod=comprad&java=none&mode=realtime&frames=1">Midwest mosaic with warnings</a></li>
                    <li class="list-group-item px-0"><a href="mcview.phtml?prod=usrad&java=none&mode=realtime&frames=1">CONUS mosaic</a></li>
                    <li class="list-group-item px-0"><a href="sel.phtml">Convective Watches Overview</a></li>
                    <li class="list-group-item px-0"><a href="/timemachine/?product=27&amp;timestamp={$tm1}0000">Yesterday (GMT) CONUS</a> max dBZ mosaic</li>
                    <li class="list-group-item px-0"><a href="/timemachine/?product=26&amp;timestamp={$tm1}0000">Yesterday (GMT) Iowa</a> max dBZ mosaic</li>
                </ul>
            </div>
        </section>
    </div>
    <div class="col-lg-6">
        <section class="card shadow-sm h-100">
            <div class="card-body">
                <h2 class="h5 card-title">Raw Level II Data</h2>
                <p class="card-text">NWS-operated WSR-88D radars publish products in multiple formats. Level II data preserves high-resolution information before much of the processing applied to Level III products.</p>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item px-0"><a href="https://mesonet-nexrad.agron.iastate.edu/level2/raw/">IEM raw data directory</a></li>
                    <li class="list-group-item px-0"><a href="https://www.weather.gov/nl2/NEXRADView">NWS feed monitor</a></li>
                    <li class="list-group-item px-0"><a href="https://nomads.ncep.noaa.gov/pub/data/nccf/radar/nexrad_level2/">NCEP NOMADS realtime Level II</a></li>
                    <li class="list-group-item px-0"><a href="https://thredds.ucar.edu/thredds/catalog/nexrad/level2/catalog.html">Unidata THREDDS service</a></li>
                    <li class="list-group-item px-0"><a href="https://s3.amazonaws.com/unidata-nexrad-level2/index.html">AWS complete Level II archive</a></li>
                </ul>
            </div>
        </section>
    </div>
    <div class="col-lg-6">
        <section class="card shadow-sm h-100">
            <div class="card-body">
                <h2 class="h5 card-title">GIS Web Mapping Apps</h2>
                <p class="card-text">These applications use IEM-generated NEXRAD mosaics for archive review and operational situational awareness.</p>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item px-0"><a href="/GIS/apps/rview/compare.phtml">Iowa RADAR comparisons</a></li>
                    <li class="list-group-item px-0"><a href="/current/mcview.phtml">Current and archived mosaic loop</a></li>
                    <li class="list-group-item px-0"><a href="/GIS/apps/rview/warnings.phtml">Nationwide Weather Warnings</a><br><span class="text-body-secondary">Optimized for NWS WFO workflows.</span></li>
                    <li class="list-group-item px-0"><a href="/GIS/apps/rview/watch.phtml">Storm Prediction Center watches since 1997</a></li>
                    <li class="list-group-item px-0"><a href="/vtec/">VTEC product browser</a></li>
                </ul>
            </div>
        </section>
    </div>
    <div class="col-lg-6">
        <section class="card shadow-sm h-100">
            <div class="card-body">
                <h2 class="h5 card-title">Satellite Products</h2>
                <p class="card-text">Satellite browsing remains separate from the radar applications, but this archive pairs well with the mosaic tools above.</p>
                <p class="mb-0"><a class="btn btn-outline-primary" href="/archive/codsat/">Open the satellite archive browser</a></p>
            </div>
        </section>
    </div>
</div>

EOM;
$t->render('single.phtml');
