These are chat archives for mdsumner/raadtools

6th
Mar 2015
Michael Sumner
@mdsumner
Mar 06 2015 00:16
Hello gitter for raadtools
Ben Arthur
@benarthur
Mar 06 2015 00:23
You may regret this indeed. First harassment.......updated Chla data?
Michael Sumner
@mdsumner
Mar 06 2015 00:33
oh jesus
What do you want, i.e. what code would you use if
readchla(dates)
did the right thing?
and was up to date?
Michael Sumner
@mdsumner
Mar 06 2015 00:40
I imagine it would be enough if you could get a map of readchla(daterange, product = "meanJohnsonchl-a") - where daterange could specify a particular day/week/month/year/season ?
Ben Arthur
@benarthur
Mar 06 2015 01:05
Well I've got some tracks from 2013 and want Chla data for that year. Currently as far as we can see, the Chla data finishes in 2012. Would use code similar to this to extract data of interest: chla <- readchla(dates, xylim=extent(rtr), lon180 = FALSE)
Michael Sumner
@mdsumner
Mar 06 2015 01:07
but do you want daily, weekly, monthly maps? (native is daily)
Ben Arthur
@benarthur
Mar 06 2015 01:16
For my needs, weekly would probably be fine. But others will likely want daily. So if we stick with that, then I can just subset into weekly as I have done for other daily data sets
Michael Sumner
@mdsumner
Mar 06 2015 04:33
Current plan (for the rest here) is: readchla() should do the usual thing for input dates, but we'll add two options:
1) a new daterange argument, where every day between two dates is used to build a single mean map of chlorophyll
2) a new argument to provide a spatial-grid for the output (default will be either SeaWiFS or MODIS standard 9km/4km in longlat)
3) options to "prefer one of MODIS/SeaWiFS/blend" (ok more than 2)
Possibly this can be applied to all other read functions . . .