↑ Hide Info
NCEI maintains a suite of monitoring services that track key climate indicators using objective methods to provide historical context for current environmental conditions. Climate Monitoring services supply detailed information about temperature and precipitation, snow and ice, drought and wildfire, storms and wind, and weather patterns.
Latest Monitoring Information
Temperature
Precipitation
National
Global
${product.description
? `
${product.description.replace('El Nino', 'El Niño')}
`
: ''
}
Access Now
`);
}
function addScopes(){
if (scopes.length > 1 && $('#products .card').length > 1) {
$('#scopes-div').html(`
`);
$('#scopes').removeClass('no-scopes');
$.each(scopes, function(ndx, s){
let thisScope = s.toLowerCase().replace(' ', '-');
$('#scopes').append(`
${s}
`);
});
if ($('#scopes li').hasClass('selected')) {
$('.product').hide();
$(`.${scope}`).show();
} else {
$('#scopes li').removeClass('selected');
$('#scopes li:first-of-type').addClass('selected');
}
$('#scopes a').click(function(){
scope = $(this).data('scope');
scopeChange();
return false;
});
} else {
$('#scopes').addClass('no-scopes');
$('.product').show();
}
}
function scopeChange() {
$('#scopes li').removeClass('selected');
$(`#show-${scope}`).addClass('selected');
$('.product').hide();
$(`.${scope}`).show();
setListCss();
}
function offSearchFocus(){
if ($('#search-products').val() == '') {
categorySelect(category);
}
}
function setListCss() {
const length = $(`#products .card.${scope}`).length;
let pct = 33.3;
if (window.innerWidth >= 992) {
$('#scopes, #show-north-america').show();
$('#categories').css('paddingTop', '3em');
pct = length = 768) {
$('#scopes').show();
$('#show-north-america').hide();
$('#categories').css('paddingTop', '3em');
if (scope === 'north-america') {
scope = 'all';
scopeChange();
}
pct = length === 1 ? 100 : 50;
} else {
if (scope !== 'all') {
scope = 'all';
scopeChange();
}
$('#scopes').hide();
$('#categories').css('paddingTop', '0.5em');
pct = 100;
}
$('#products .card').css('flex', `0 0 calc(${pct}% - 10px)`);
}
function sortList(reqCategory, reverse) {
const items = $('#products > ul > li').get();
items.sort((a, b) => {
const keyA = reqCategory === 'all' || reqCategory === 'dataset' ? $(a).text() : $(a).data('sort');
const keyB = reqCategory === 'all' || reqCategory === 'dataset' ? $(b).text() : $(b).data('sort');
if (keyA === keyB) {
return 0;
}
return reverse ? (keyA keyB ? 1 : -1);
});
$('#products ul').append(items);
}