MazamaScience / MazamaSatelliteUtils

Satellite Data Download and Utility Functions
http://mazamascience.github.io/MazamaSatelliteUtils
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Make sure we are using correct package signature when calling functions #60

Closed lagerratrobe closed 4 years ago

lagerratrobe commented 4 years ago

Currently:

noon_23_stack <- goesaodc_createDaytimeRasterStack(satID = "G17", datetime = noon_date, timezone = timezone, dqfLevel = 2)

 Error: Missing dataset. Please loadSpatialData("SimpleTimezones") 

This happens because MazamaSpatialUtils isn't loaded. Need to trap this error and give the user a more useful message like:


Error: SimpleTimezones not available. Please load MazamaSpatialUtils
lagerratrobe commented 4 years ago

Was fixed when getDaylightHours() was refactored.