//h-----------------------------------------------------------------------------
//h .root/data_access/njustdar.cdip
//h
//h Returns cdip data for automatic web downloads using .dar/dar.
//h Data is limited to 500,000 lines (~4 days of df or xy data).
//h
//h December 2018: script udpated to pull data for directional buoys from
//h CDIP's netCDF datasets using the 'ndar' data access utility.
//h
//h NOTE: minor formatting changes to some output options occured on Dec 11
//h 2018 with the code update. Please contact CDIP with any questions
//h or concerns. In general, the recommended script for data requests
//h is now http://cdip.ucsd.edu/data_access/ndar.cdip
//h
//h Usage:
//h   http://cdip.ucsd.edu/data_access/justdar.cdip?{args}
//h   where {args} examples are:
//h     1. h                          -> returns this help
//h     2. 029+sp                     -> most recent sp file
//h     3. 029+sp+20040101            -> returns stn 29 sp data for Jan 1, 2004
//h     4. 029+pm+20040101+20040103   -> pm data for Jan 1 - Jan 3, 2004
//h     5. 029+xy+S01                 -> latest xy file
//h     6. 029+de+1                   -> de data for the last day (24 hours)
//h     7. 029+dd+1+2                 -> directional data 1 to 2 days old
//h
//h   File type codes:
//h     de=energy, dd=direction, dt=sea temperature
//h     da=air temperature db=air pressure, dw=wind
//h     dp=depth, pm=parameter, xy=xy, sp=spectral
//h
//h Note: all dates are UTC
//h-----------------------------------------------------------------------------