Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Edzer Pebesma
If the product info is in this document: https://ladsweb.modaps.eosdis.nasa.gov/missions-and-measurements/viirs/NASAVIIRSL1BUGAug2019.pdf then it sounds like these data are distributed as curvilinear grids, meaning that there are two additional raster with for each pixel the longitude and the lati

Re: [R-sig-Geo] rgdal travis error: configure: error: gdal-config not found or not executable.

2020-03-18 Thread Edzer Pebesma
At least libgdal-dev and libproj-dev are missing. You can have a look at https://github.com/r-spatial/sf/blob/master/.travis.yml (but that tries to do quite a bit more). On 3/18/20 3:21 PM, Joe Lewis wrote: > Hi, > > I'm testing a package using travis and I keep getting an error message > about r

Re: [R-sig-Geo] Merging Shape files

2020-03-18 Thread Zia Ahmed
You welcome. If you are interested in geospatial analysis in python, you check this: https://zia207.github.io/geospatial-python.io/ Best Zia On Wed, Mar 18, 2020, 10:45 AM Dexter Locke wrote: > Zia: this is a fabulous resource!! > > Thanks for sharing, > Dexter > > > On Wed, Mar 18, 2020 at 1

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Miluji Sb
Dear all, Thank you everyone. The issue (as pointed out) is the following; # [1] "vobjtovarid4: WARNING I was asked to get a varid for dimension named number_of_pixels BUT this dimension HAS NO DIMVAR! Code will probably fail at this point" I have contacted the VIIRS people and will ke

Re: [R-sig-Geo] R spatial follows GDAL and PROJ development

2020-03-18 Thread Ben Tupper
This is very helpful - thank you! On Wed, Mar 18, 2020 at 9:12 AM Roger Bivand wrote: > A new blog: "R spatial follows GDAL and PROJ development" has been > published: https://www.r-spatial.org/r/2020/03/17/wkt.html. > > Those maintaining packages using sf or sp/rgdal, and authors of scripts > u

Re: [R-sig-Geo] Merging Shape files

2020-03-18 Thread Zia Ahmed
Please check this: https://zia207.github.io/geospatial-r-github.io/geoprocessing-vector-data.html Best Zia On Tue, Mar 17, 2020, 10:39 AM Dexter Locke wrote: > Within st_join() see the options like "left = TRUE". > > You may also want to look at st_intersects() > > Here are other helpful refer

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Zia Ahmed
This is might help you: https://zia207.github.io/geospatial-r-github.io/netCDF-data-processing.html Zia On Wed, Mar 18, 2020, 9:34 AM Frederico Faleiro wrote: > Hi Miluji, > > the R in general do not handle very well with netCDF. However I > recommend you use the netcdf4 package before try oth

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Michael Sumner
You won't find much on this kind of file in the R community, this is relatively new NetCDF-4 with "groups", and contains a satellite "granule" - a kind of pre-mapping raw data array with only technical information about where the scanning occurred. In short, raster and stars package (and RNetCDF a

[R-sig-Geo] rgdal travis error: configure: error: gdal-config not found or not executable.

2020-03-18 Thread Joe Lewis
Hi, I'm testing a package using travis and I keep getting an error message about rgdal not being found or executable. I've been trying to piece together things I've found online but to no avail. https://travis-ci.org/github/josephlewis/leastcostpath/builds/663944787 travis.yml # R for travis: s

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Washington Correia Filho
Dear Millu, The data they use is not with the CRS set, so the displayed result is showing the grid points (extent: 0.5, 4064.5, 0.5, 3232.5). Then you should consult the VIIRS data guide so that you can organize your data, to which you need to know the start data for both latitude and longitude

Re: [R-sig-Geo] Extract VIIRS data in R

2020-03-18 Thread Frederico Faleiro
Hi Miluji, the R in general do not handle very well with netCDF. However I recommend you use the netcdf4 package before try others. This link is a good start: http://geog.uoregon.edu/bartlein/courses/geog490/week04-netCDF.html#get-coordinate-including-time-variables . The coordinates of this file

[R-sig-Geo] R spatial follows GDAL and PROJ development

2020-03-18 Thread Roger Bivand
A new blog: "R spatial follows GDAL and PROJ development" has been published: https://www.r-spatial.org/r/2020/03/17/wkt.html. Those maintaining packages using sf or sp/rgdal, and authors of scripts using them should read the blog and be prepared to take rapid action when sf 0.9 is released and b