[R-sig-Geo] Automate the extraction of climate variable at different time depths from netcdf in r
kridox at ymail.com
Mon Sep 8 03:16:35 CEST 2014
Please start a new thread for your own question, thank you.
On Mon, Sep 8, 2014 at 1:57 AM, Kristin <nessnjor at gmail.com> wrote:
> I´m having similar problem, do not seem to find obvious solution on the net.
> I have a raster brick of 464 layers, each layer representing time defined as
> number from 1 to 464.
> The number is stored here:
> rasterbrick at z$days
> and has values from 1 to 464
> Then I have 2800 space time locations of field data sampling. These are both
> irregular sampling locations and some irregular sampling dates at same
> sampling locations. Dates are also defined as numbers from 1 to 464. Each
> individual point is then identified by lat and lon at different times.
> This is what my dataframe looks like:
> Lat, Lon, days
> 64 -21 23
> 63 -19 52
> 63 -19 53
> 66 -25 23
> So what I want to do is to extract values from the raster brick at a certain
> location, but only where the date numbers from both the raster brick and the
> locations match, but not for all times for all locations as the extract from
> raster brick does.
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Automate-the-extraction-of-climate-variable-at-different-time-depths-from-netcdf-in-r-tp7587070p7587080.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
More information about the R-sig-Geo