Hi @nperez @lcaron @rmarcos! Analogs function is ready! There are two options CST_Analogs and Analogs. @rmarcos Could you review these functions so we can include them in the next release?
Important: To load the data and to interpolate the data into a finer resolution for the downscaling is necessary to use CST_Load. Then you can use CST_Analogs for a simple downscaling using Analogs, or Analogs for an advanced downscaling and/or use of the analogs:
- you can get a list of best Analogs, setting return_list=TRUE, or just the downscaling, setting return_list=FALSE,
- you can impose the number of Analogs 'nAnalogs' in which perform the selection of the best Analog,
- you can select best analogs using three possible criterias: Large_dist, Local_dist, or Local_cor as explained in the documentation.
Thanks! Carmen