Closed jonathancallahan closed 3 years ago
This is a fairly minor thing but I would like our function examples to make use of "recipe style" code with pipes wherever reasonable.
The documentation example for goasaodc_findClosestScanFile() currently has:
goasaodc_findClosestScanFile()
print(MazamaCoreUtils::parseDatetime( goesaodc_convertFilenameToDatetime(closestScanFile), "America/Los_Angeles" ))
My preference would be to have this:
# Print precise time of scan closestScanFile %>% MazamaSatelliteUtils::goesaodc_convertFilenameToDatetime() %>% # always UTC MazamaCoreUtils::parseDatetime(timezone = "America/Los_Angeles") %>% # local time print()
This is a fairly minor thing but I would like our function examples to make use of "recipe style" code with pipes wherever reasonable.
The documentation example for
goasaodc_findClosestScanFile()
currently has:My preference would be to have this: