U.S. FlagAn official website of the United States government
dot gov icon
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https icon
Secure .gov websites use HTTPS

A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

SABRE Planning

Flight Planning & Operations

Forecasting Data Products

Near real time MLS satellite data in support of the Stratospheric Aerosol processes, Budget and Radiative Effects (SABRE) Arctic 2023 activities:

\n\n

Polar

O3N2ON2O Mean Age
68 hPa "; $N2O68product = "N2O_68hPa_"; $N2O68date = getLastDate($N2O68product); print ""; $N2Oma68product = "N2O_mean_age_68hPa_"; $N2Oma68date = getLastDate($N2Oma68product); print "
100 hPa"; $O3100product = "O3_100hPa_"; $O3100date = getLastDate($O3100product); print ""; $N2O100product = "N2O_100hPa_"; $N2O100date = getLastDate($N2O100product); print ""; $N2Oma100product = "N2O_mean_age_100hPa_"; $N2Oma100date = getLastDate($N2Oma100product); print "
146 hPa"; $O3146product = "O3_146hPa_"; $O3146date = getLastDate($O3146product); print ""; $N2O146product = "N2O_146hPa_"; $N2O146date = getLastDate($N2O146product); print ""; $N2Oma146product = "N2O_mean_age_146hPa_"; $N2Oma146date = getLastDate($N2Oma146product); function getLastDate($productName) { // $today = date('Ymd'); //yyyymmdd $dirArr = array(); $ind = 0; $productpath = "data/polar/"; //folder containing product images to display $d = opendir($productpath) or die($php_errormsg); //get array of all images in directory for product while(false !==($f = readdir($d))) { if ((stristr($productpath.$f, $productName)) && (!preg_match('/^._/', $f))) { //all files containing productName and not starting in "._" $dirArr[$ind] = $f; $ind+=1; } } closedir($d); sort($dirArr); //sort array by file name $maxNum = count($dirArr); // number of product images if(isset($dirArr[$maxNum-1])) { $lastDay = $dirArr[$maxNum-1]; //get the date of the last image } else { $lastDay = '00000000.png'; } $lastString = substr($lastDay, 0, -4); //get rid of the last 4 chars ( .png ) $lastDate = substr($lastString,-8); //yyyymmdd $productFile = $productpath.'MLS_NRT_'. $productName . $lastDate .'.png'; $X = ""; if (file_exists($productFile)) { echo "".$X.""; } } ?>
\n\n

CONUS

O3N2ON2O Mean Age
68 hPa "; $N2O68product = "N2O_68hPa_"; $N2O68date = getLastDateC($N2O68product); print ""; $N2Oma68product = "N2O_mean_age_68hPa_"; $N2Oma68date = getLastDateC($N2Oma68product); print "
100 hPa"; $O3100product = "O3_100hPa_"; $O3100date = getLastDateC($O3100product); print ""; $N2O100product = "N2O_100hPa_"; $N2O100date = getLastDateC($N2O100product); print ""; $N2Oma100product = "N2O_mean_age_100hPa_"; $N2Oma100date = getLastDateC($N2Oma100product); print "
146 hPa"; $O3146product = "O3_146hPa_"; $O3146date = getLastDateC($O3146product); print ""; $N2O146product = "N2O_146hPa_"; $N2O146date = getLastDateC($N2O146product); print ""; $N2Oma146product = "N2O_mean_age_146hPa_"; $N2Oma146date = getLastDateC($N2Oma146product); function getLastDateC($productName) { // $today = date('Ymd'); //yyyymmdd $dirArr = array(); $ind = 0; $productpath = "data/conus/"; //folder containing product images to display $d = opendir($productpath) or die($php_errormsg); //get array of all images in directory for product while(false !==($f = readdir($d))) { if ((stristr($productpath.$f, $productName)) && (!preg_match('/^._/', $f))) { //all files containing productName and not starting in "._" $dirArr[$ind] = $f; $ind+=1; } } closedir($d); sort($dirArr); //sort array by file name $maxNum = count($dirArr); // number of product images if(isset($dirArr[$maxNum-1])) { $lastDay = $dirArr[$maxNum-1]; //get the date of the last image } else { $lastDay = '00000000_conus.png'; } $lastString = substr($lastDay, 0, -10); //get rid of the last 4 chars ( .png ) $lastDate = substr($lastString,-8); //yyyymmdd $productFile = $productpath.'MLS_NRT_'. $productName . $lastDate .'_conus.png'; $X = ""; if (file_exists($productFile)) { echo "".$X.""; } } ?>

Forecasting Tools