Description Usage Arguments Details Value Author(s) References See Also Examples
The filenames of MODIS images contain the following date information: MOD35_L2.Ayyyyddd.hhhh.etc.
1 | yearday_to_date(year = 2012, day = 1)
|
year |
The year, read as numeric |
day |
The day of the year, read as numeric, from 1 to 366 |
MODLAND Level 2 products ESDT.AYYYYDDD.HHMM.CCC.YYYYDDDHHMMSS.hdf
ESDT = Earth Science Data Type name (e.g., MOD14) YYYYDDD = MODIS acquisition year and Julian day HHMM = MODIS acquisition UTC time CCC = Collection number YYYYDDDHHMMSS = Processing Year, Julian day and UTC Time hdf = Suffix denoting HDF file
DDD is the day of the year, from 001 to 365 (or 366 for leap years)
This is mildly annoying to interpret as e.g. months for
graphing cloudy days per month, so
yearday_to_date
converts a (numeric) year
and day to the calendar date.
newdate
A list with three items: $month
,
$day
, $year
Nicholas J. Matzke matzke@berkeley.edu
NASA (2001). "MODLAND Product Filename Convention." <URL: http://landweb.nascom.nasa.gov/cgi-bin/QA_WWW/newPage.cgi?fileName=hdf_filename>.
http://landweb.nascom.nasa.gov/cgi-bin/QA_WWW/newPage.cgi?fileName=hdf_filename
1 2 3 4 5 6 7 8 9 | yearday_to_date(year=2012, day=364)
# $month
# [1] 12
#
# $day
# [1] 29
#
# $year
# [1] 2008
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.