An official website of the United States government
Here’s how you know
Official websites use .gov
A.gov website belongs to an official governmentorganization in the United States.
Secure .gov websites use HTTPS
Alock ( ) or https:// means you’ve safely connected tothe .gov website. Share sensitive information only on official,secure websites.
"); } else if ( (document.getElementsByClassName("stormPresent").length == 0) && (getUrlVariable("storm") == null) && (storm == null)) { document.write("
There are no active tropical cyclones at this time.
"); document.write("
"+date+" "+time+"Z eTRaP for "+storm+"
"); now = new Date(); nowYear = now.getUTCFullYear(); nowMonth = now.getUTCMonth()+1; nowDate = now.getUTCDate(); nowHour = now.getUTCHours(); if(nowMonth < 10){ nowMonth = "0"+nowMonth; } if(nowDate < 10){ nowDate = "0"+nowDate; } if(nowHour < 10){ nowHour = "0"+nowHour; } if(getUrlVariable("date")!=null && getUrlVariable("time")!= null){ tmpDateTimeCompare =getUrlVariable("date")+"-"+getUrlVariable("time"); } else { tmpDateTimeCompare = date+"-"+time; } if(tmpDateTimeCompare == dateTime){ tmpYear = parseInt(getSpecificPartsOfDate(date, "year"), 10); tmpMonth = parseInt(getSpecificPartsOfDate(date, "month"), 10); tmpDay = parseInt(getSpecificPartsOfDate(date, "day"), 10); tmpTime = parseInt(time, 10); tmpTime = tmpTime + 10; if(tmpTime >= 24){ tmpTime = tmpTime - 24; if(tmpTime < 10){ tmpTime = "0"+tmpTime; } if((parseInt(tmpDay,10)+1) > getDaysinMonth(tmpMonth, tmpYear)){ tmpDay="01"; if((tmpMonth + 1)>12){ tmpMonth = "01"; tmpYear++; } else { tmpMonth++; if(tmpMonth < 10){ tmpMonth = "0"+tmpMonth; } } } else { tmpDay++; if(tmpDay < 10){ tmpDay = "0"+tmpDay; } if(tmpMonth < 10){ tmpMonth = "0"+tmpMonth; } } tmpDateTime=tmpYear+"-"+tmpMonth+"-"+tmpDay+"-"+tmpTime; } else { if(tmpDay < 10){ tmpDay = "0"+tmpDay; } if(tmpMonth < 10){ tmpMonth = "0"+tmpMonth; } if(tmpTime < 10){ tmpTime = "0"+tmpTime; } tmpDateTime=tmpYear+"-"+tmpMonth+"-"+tmpDay+"-"+tmpTime; } nowDateTime = nowYear+"-"+nowMonth+"-"+nowDate+"-"+nowHour; if(tmpDateTime >= nowDateTime){ tempTime = parseInt(time, 10) + 6; if(tempTime >= 24){ tempTime = "00"; dueTime = "03"; tempYear = parseInt(getSpecificPartsOfDate(date, "year"), 10); tempMonth = parseInt(getSpecificPartsOfDate(date, "month"), 10); tempDay = parseInt(getSpecificPartsOfDate(date, "day"), 10); if((parseInt(tempDay,10)+1) > getDaysinMonth(tempMonth, tempYear)){ tempDay = "01"; if((tempMonth + 1) > 12){ tempMonth = "01"; tempYear++; } else { tempMonth++; if(tempMonth < 10){ tempMonth="0"+tempMonth; } } } else { tempDay++; if(tempDay<10){ tempDay="0"+tempDay; } if(tempMonth < 10){ tempMonth="0"+tempMonth; } } tempDate = tempYear+"-"+tempMonth+"-"+tempDay; } else { dueTime = tempTime + 3; tempDate = date; if(tempTime < 10){ tempTime = "0"+tempTime; } if(dueTime < 10){ dueTime = "0"+dueTime; } } document.write("Update for "+tempDate+" "+tempTime+"Z is due at "+dueTime+"Z
"); if(exist('getTRAPNUM_00')){ trapNum = getTRAPNUM_00(); if((year<2009)||(year==2009 && month<9)||(year==2009 && month==9 && day<12)){ logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.00.log"; } else { logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.00.html"; } document.write("("+trapNum+" TRaP members)
"); if(exist('getTRAPNUM_06')){ if((year<2009)||(year==2009 && month<9)||(year==2009 && month==9 && day<12)){ logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.06.log"; } else { logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.06.html"; } trapNum = getTRAPNUM_06(); document.write("("+trapNum+" TRaP members)
"); if(exist('getTRAPNUM_12')){ trapNum = getTRAPNUM_12(); if((year<2009)||(year==2009 && month<9)||(year==2009 && month==9 && day<12)){ logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.12.log"; } else { logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.12.html"; } document.write("("+trapNum+" TRaP members)
"); if(exist('getTRAPNUM_18')){ trapNum = getTRAPNUM_18(); if((year<2009)||(year==2009 && month<9)||(year==2009 && month==9 && day<12)){ logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.18.log"; } else { logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.18.html"; } document.write("("+trapNum+" TRaP members)
"); if(exist('getTRAPNUM_24')){ trapNum = getTRAPNUM_24(); logPath = "/etrap/"+year+"/"+theBasin+"/"+storm+"/"+year+storm+".ETRAP."+month+day+time+"00.24.log"; document.write("("+trapNum+" Independent TRaPs)
"); var archivePath = "/etrap/archive.html?year="+year+"&basin="+theBasin+"&storm="+storm; document.write("
"+storm+" Archive |
---|