Conversation
Commented out some code I blieve not yet needed Made projection strings global (for now) Closed open netcdf files when no more needed added a function “makeCellfunction” that as a function of a netcdf file creates a function mapping the Dutch grid (global SOURCE string) to the polar stereographic coordinate in the TARGET string (not yet obtained from the netcdf)
This program imports precipitation data from a tree containg NetCDF files. The program assumes all NetCDF files relevant (no other types should be in the path). The program is designed to read from and save to a share pointed to by the environment variable ProjectData
ImportPrecipitationRadarData.RThe following R script is used to create a key value table tables This program assumes the NetCDF files already to be downloaded (for instance from here) and decompressed into the directory pointed to by the environment variable "ProjectData" pointing to a share (part of a path at least), and from there in Currently, the zip files offered by KNMI are organized per year and month (and [ignored here] per hour). Currently the program uses the It is unclear to me whether the time used in the file name is the beginning of the |
|
Yet another bug? I thought in "payload" (the matrix) in NetCDF files was in integer values. I suspect the ncvar_get already applies "_FillValue" (Most values returned by "ncvar_get" are NA, none are the _FillValue). As in our example the scale_factor equals 0.01, I was surprised to see values of 0.001. Probably did not read the documentation properly, or mixed-up packages... |
This program imports precipitation data from a tree containg NetCDF files. The program assumes all NetCDF files relevant (no other types should be in the path). The program is designed to read from and save to a share pointed to by the environment variable ProjectData