General configuration data structure conf_struct. More...
#include <dsclim.h>
Data Fields | |
int | debug |
Debugging flag. | |
int | format |
Format for NetCDF output files. | |
int | compression |
Compression for NetCDF-4 output files. | |
int | compression_level |
Compression Level for NetCDF-4 output files. | |
int | fixtime |
Fix incorrect time in input climate model file, and use 01/01/year_begin_ctrl as first day for control period, and year_begin_other for other period, and assume daily data since it is required. | |
int | year_begin_ctrl |
Use year_begin_ctrl as first day for control period in model file when fixing time units. | |
int | year_begin_other |
Use year_begin_other as first day for other period in model file when fixing time units. | |
char * | config |
Whole configuration file text. | |
int | clim_filter_width |
Climatology filter width. | |
char * | clim_filter_type |
Climatology filter type. | |
char * | cal_type |
Calendar-type for downscaling. | |
char * | time_units |
Base time units for downscaling. | |
char * | dimxname_eof |
X Dimension name (EOF file) for downscaling. | |
char * | dimyname_eof |
Y Dimension name (EOF file) for downscaling. | |
char * | lonname_eof |
Longitude variable name (EOF file) for downscaling. | |
char * | latname_eof |
Latitude variable name (EOF file) for downscaling. | |
char * | eofname |
EOF dimension name for downscaling. | |
char * | ptsname |
Points dimension name for downscaling. | |
char * | clustname |
Cluster dimension name. | |
double | longitude_min |
Domain minimum longitude for large-scale fields (classification). | |
double | longitude_max |
Domain maximum longitude for large-scale fields (classification). | |
double | latitude_min |
Domain minimum latitude for large-scale fields (classification). | |
double | latitude_max |
Domain maximum latitude for large-scale fields (classification). | |
double | secondary_longitude_min |
Domain minimum longitude for secondary large-scale fields. | |
double | secondary_longitude_max |
Domain maximum longitude for secondary large-scale fields. | |
double | secondary_latitude_min |
Domain minimum latitude for secondary large-scale fields. | |
double | secondary_latitude_max |
Domain maximum latitude for secondary large-scale fields. | |
double | learning_mask_longitude_min |
Learning Mask minimum longitude. | |
double | learning_mask_longitude_max |
Learning Mask maximum longitude. | |
double | learning_mask_latitude_min |
Learning Mask minimum latitude. | |
double | learning_mask_latitude_max |
Learning Mask maximum latitude. | |
mask_struct * | learning_maskfile |
Learning Mask structure for optional mask file. | |
char * | output_path |
Output path. | |
int | output_month_begin |
Output month number (1-12) in where we begin the output year. | |
int | nseasons |
Number of seasons. | |
season_struct * | season |
Seasons definition. | |
int | nperiods |
Number of periods. | |
period_struct * | period |
Periods definition. | |
period_struct * | period_ctrl |
Control run period definition. | |
int | downscale |
Downscale or not control-run period. | |
char * | classif_type |
Classification type (euclidian only for now). | |
int | nclassifications |
Maximum number of classifications. | |
int | npartitions |
Number of partitions. | |
var_struct * | obs_var |
Structure for observation variables information. | |
int | analog_save |
If we want to save analog data. | |
int | output_only |
If we just want to output downscaled data using only analog data and observation database. | |
int | output |
If we want to output downscaled data. | |
char * | analog_file_ctrl |
Analog data filename for control run. | |
char * | analog_file_other |
Analog data filename for control run. | |
int | use_downscaled_year |
If we want to also search the analog day in the year of the current downscaled year. | |
int | only_wt |
If we want to restrict search to only the same weather type. | |
double | deltat |
Absolute difference of temperature to use to correct temperature when downscaling and comparing large-scale temperature index. |
General configuration data structure conf_struct.
Definition at line 432 of file dsclim.h.
Analog data filename for control run.
Definition at line 480 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and wt_downscaling().
Analog data filename for control run.
Definition at line 481 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and wt_downscaling().
If we want to save analog data.
Definition at line 477 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and wt_downscaling().
char* conf_struct::cal_type |
Calendar-type for downscaling.
Definition at line 443 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_large_scale_fields(), remove_clim(), and wt_downscaling().
Classification type (euclidian only for now).
Definition at line 473 of file dsclim.h.
Referenced by free_main_data(), load_conf(), wt_downscaling(), and wt_learning().
Climatology filter type.
Definition at line 442 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and remove_clim().
Climatology filter width.
Definition at line 441 of file dsclim.h.
Referenced by load_conf(), and remove_clim().
char* conf_struct::clustname |
Cluster dimension name.
Definition at line 451 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_learning_fields(), write_learning_fields(), and write_regression_fields().
Compression for NetCDF-4 output files.
Definition at line 435 of file dsclim.h.
Referenced by load_conf(), remove_clim(), and wt_downscaling().
Compression Level for NetCDF-4 output files.
Definition at line 436 of file dsclim.h.
Referenced by load_conf(), remove_clim(), and wt_downscaling().
char* conf_struct::config |
Whole configuration file text.
Definition at line 440 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and wt_downscaling().
Debugging flag.
Definition at line 433 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
double conf_struct::deltat |
Absolute difference of temperature to use to correct temperature when downscaling and comparing large-scale temperature index.
Definition at line 484 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
X Dimension name (EOF file) for downscaling.
Definition at line 445 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and read_large_scale_eof().
Y Dimension name (EOF file) for downscaling.
Definition at line 446 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and read_large_scale_eof().
char* conf_struct::eofname |
EOF dimension name for downscaling.
Definition at line 449 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_large_scale_eof(), read_learning_fields(), read_learning_rea_eof(), and write_learning_fields().
Fix incorrect time in input climate model file, and use 01/01/year_begin_ctrl as first day for control period, and year_begin_other for other period, and assume daily data since it is required.
Definition at line 437 of file dsclim.h.
Referenced by load_conf(), and read_large_scale_fields().
Format for NetCDF output files.
Definition at line 434 of file dsclim.h.
Referenced by load_conf(), remove_clim(), and wt_downscaling().
double conf_struct::latitude_max |
Domain maximum latitude for large-scale fields (classification).
Definition at line 455 of file dsclim.h.
Referenced by load_conf(), read_large_scale_eof(), and read_large_scale_fields().
double conf_struct::latitude_min |
Domain minimum latitude for large-scale fields (classification).
Definition at line 454 of file dsclim.h.
Referenced by load_conf(), read_large_scale_eof(), and read_large_scale_fields().
char* conf_struct::latname_eof |
Latitude variable name (EOF file) for downscaling.
Definition at line 448 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and read_large_scale_eof().
Learning Mask maximum latitude.
Definition at line 463 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Learning Mask minimum latitude.
Definition at line 462 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Learning Mask maximum longitude.
Definition at line 461 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Learning Mask minimum longitude.
Definition at line 460 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Learning Mask structure for optional mask file.
Definition at line 464 of file dsclim.h.
Referenced by free_main_data(), load_conf(), main(), and wt_learning().
double conf_struct::longitude_max |
Domain maximum longitude for large-scale fields (classification).
Definition at line 453 of file dsclim.h.
Referenced by load_conf(), read_large_scale_eof(), and read_large_scale_fields().
double conf_struct::longitude_min |
Domain minimum longitude for large-scale fields (classification).
Definition at line 452 of file dsclim.h.
Referenced by load_conf(), read_large_scale_eof(), and read_large_scale_fields().
char* conf_struct::lonname_eof |
Longitude variable name (EOF file) for downscaling.
Definition at line 447 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and read_large_scale_eof().
Maximum number of classifications.
Definition at line 474 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Number of partitions.
Definition at line 475 of file dsclim.h.
Referenced by load_conf(), and wt_learning().
Number of periods.
Definition at line 469 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and main().
Number of seasons.
Definition at line 467 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_learning_fields(), write_learning_fields(), write_regression_fields(), wt_downscaling(), and wt_learning().
Structure for observation variables information.
Definition at line 476 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_obs_period(), and wt_downscaling().
If we want to restrict search to only the same weather type.
Definition at line 483 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
If we want to output downscaled data.
Definition at line 479 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
Output month number (1-12) in where we begin the output year.
Definition at line 466 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
If we just want to output downscaled data using only analog data and observation database.
Definition at line 478 of file dsclim.h.
Referenced by free_main_data(), load_conf(), main(), and wt_downscaling().
char* conf_struct::output_path |
Output path.
Definition at line 465 of file dsclim.h.
Referenced by free_main_data(), load_conf(), and wt_downscaling().
Periods definition.
Definition at line 470 of file dsclim.h.
Referenced by free_main_data(), load_conf(), main(), and wt_downscaling().
Control run period definition.
Definition at line 471 of file dsclim.h.
Referenced by free_main_data(), load_conf(), main(), and wt_downscaling().
char* conf_struct::ptsname |
Points dimension name for downscaling.
Definition at line 450 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_learning_fields(), write_learning_fields(), and write_regression_fields().
Seasons definition.
Definition at line 468 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_learning_fields(), write_learning_fields(), write_regression_fields(), wt_downscaling(), and wt_learning().
Domain maximum latitude for secondary large-scale fields.
Definition at line 459 of file dsclim.h.
Referenced by load_conf(), read_large_scale_fields(), wt_downscaling(), and wt_learning().
Domain minimum latitude for secondary large-scale fields.
Definition at line 458 of file dsclim.h.
Referenced by load_conf(), read_large_scale_fields(), wt_downscaling(), and wt_learning().
Domain maximum longitude for secondary large-scale fields.
Definition at line 457 of file dsclim.h.
Referenced by load_conf(), read_large_scale_fields(), wt_downscaling(), and wt_learning().
Domain minimum longitude for secondary large-scale fields.
Definition at line 456 of file dsclim.h.
Referenced by load_conf(), read_large_scale_fields(), wt_downscaling(), and wt_learning().
char* conf_struct::time_units |
Base time units for downscaling.
Definition at line 444 of file dsclim.h.
Referenced by free_main_data(), load_conf(), read_large_scale_fields(), remove_clim(), save_analog_data(), write_learning_fields(), write_regression_fields(), wt_downscaling(), and wt_learning().
If we want to also search the analog day in the year of the current downscaled year.
Definition at line 482 of file dsclim.h.
Referenced by load_conf(), and wt_downscaling().
Use year_begin_ctrl as first day for control period in model file when fixing time units.
Definition at line 438 of file dsclim.h.
Referenced by load_conf(), and read_large_scale_fields().
Use year_begin_other as first day for other period in model file when fixing time units.
Definition at line 439 of file dsclim.h.
Referenced by load_conf(), and read_large_scale_fields().