pyrad.io.get_datetime#

pyrad.io.get_datetime(fname, datadescriptor)[source]#

Given a data descriptor gets date and time from file name

Parameters:
  • fname (str) – file name

  • datadescriptor (str) – radar field type. Format : [radar file type]:[datatype]

Returns:

fdatetime (datetime object) – date and time in file name