Description Usage Arguments Value
Scales the color tag to a single true or false value, aggregates the small spacing into the desired spacing using sum(extract()) since raster::aggregate can't take uneven spaces. Then it changes the projection into unprojected lat/lon or a user defined projection
1 | rawCrop2nicenc(dirIn, pathOut, cropGrid, niceGrid = "")
|
dirIn |
The directory with slices of tif files ussually generated by NASS2TIFs() |
pathOut |
The full file name of the aggregated file, either in .dat or .nc |
cropGrid |
The input extent and projection with the new spacing that you want |
niceGrid |
The result grid in the projection that you want |
saves the result as a csv readable by surfer (.dat) and the netCDF file at pathOut as specified. Returns a 0 if the writing failed, 1 if it worked.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.