For AGDS Proseminar, we'll need to give students an introduction to geospatial data, in particular working with NetCDF. Therefore, I'd like to add a chapter in our AGDS book.
The intro that @khufkens wrote here covers raster and shapefiles in general and R {terra} in particular. We'll additionally need to give them an intro in handling NetCDF, also independent of R. This should really only be pointers and the very starting point of:
installing the netcdf library (which we already cover in the AGDS book)
explaining what NetCDF does: open format for multi-dimensional arrays with meta information (at the level of dimension axes, variables, and the file globally) such that geographic and temporal transformations can easily be done (and physical quantities conserved).
Basic command-line ncdump, ncview
Pointer to CDO. The motivation for this is that these tools are extremely efficient and solve all standard data transformation tasks. It's recommendable that as many steps on NetCDF should be done with CDO before starting to work on them in R (especially when files are large).
explain that a sequence of command line-commands can be implemented in bash scripts.
Explain the different data types. Handling of shapefiles will be covered below with focus on R. Handling of raster files is the more common task for courses taught in the context of AGDS. Therefore extended intro to raster files and manipulations in R and independent thereof is given here.
For AGDS Proseminar, we'll need to give students an introduction to geospatial data, in particular working with NetCDF. Therefore, I'd like to add a chapter in our AGDS book.
The intro that @khufkens wrote here covers raster and shapefiles in general and R {terra} in particular. We'll additionally need to give them an intro in handling NetCDF, also independent of R. This should really only be pointers and the very starting point of:
ncdump
,ncview
Helpful sources:
I would organise such a chapter like this:
Geospatial data and NetCDF
Geospatial data paradigms
Explain the different data types. Handling of shapefiles will be covered below with focus on R. Handling of raster files is the more common task for courses taught in the context of AGDS. Therefore extended intro to raster files and manipulations in R and independent thereof is given here.
Raster data
NetCDF
Raster data in R
Vector data in R
@padasch you could get this started. How confident do you feel about the NetCDF sub-section? I can get more started and fill in.