Description Usage Arguments Details Value
View source: R/monthly_downscaling.R
reindex_grid
returns the fraction matrix to use in monthly_downscaling
during the monthly downscaling process.
1 | reindex_grid(frac, frac_coordinates, fld_coordinates, var)
|
frac |
the downscaling fraction list, internal pacakge data |
frac_coordinates |
the data frame of the fraction grid cell coordinates should be available from frac |
fld_coordinates |
the data frame of the field grid cell coordinates |
var |
the name of the variable to process, a string of tas or pr |
This function ensures that that the monthly fractions used in the downscaling and the data being downscaled have the same latitude and longitude coordinate system. This is important when working with ISIMIP and CMIP5 files since ISMIP has NA values that may be removed during an earlier step which would change the grid cell indexing of the data.
the fraction matrix to use in monthly downscaling arranged so that the fraction grid cells match the order of the field grid cells
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.