Man pages for dd-harp/globalrc
Computes Control Reproductive Number, Rc, from PfPR and Treatment Levels

apply_relative_extentCompute a domain extent from a process extent within a domain...
arg_parserParse command-line arguments.
ar_of_pr_rhoCreates a function that interpolates an AR-to-PR dataset. The...
assembleReads output from workers and produces GeoTIFFs and images.
build_ar2prThis goes the other way, from AR to PR, with rho=0.
check_argsCheck whether the input arguments make sense.
check_linearized_outputsCheck that the results are all finite.
chunk_nonzeroFind nonzeros in each chunk of tile data to see they loaded.
chunk_sumsFind the sum of each chunk of tile data to see they differ.
collect_and_permuteGiven a list of matrices, construct a single...
combine_outputGiven everything from lapply, combine it.
construct_planMakes an initial plan.
data_for_countryGet all the data for a country as a convenience function.
decode_hilbertGiven a Hilbert z-value, translate it into an x and y value.
draw_parametersTakes a parameter that is an expression (of drawing a...
draw_parameters_threeTakes a parameter that is an expression (of drawing a...
draw_parameters_twoTakes a parameter that is an expression (of drawing a...
encode_hilbertThese functions are used to arrange a walk across a 2D matrix...
encode_hilbert_zeroComputes an integer Hilbert index for x and y using a variant...
find_relative_extentFind where the tile is within the process extent.
flatten_drawsThe draws are hierarchical by variable and then quantile....
funcmainIf you want to run from the R command line, you can call...
gadm_country_shapefileRetrieve the shapefile for a country at the given level. GADM...
globalrcglobalrc: Calculate R_c from PfPR and treatment rates.
improved_errorsAsks R for a stack trace that shows which function had the...
is_tileCheck that this is a tile.
linearized_workTakes an input array in multiple dimensions and linearizes...
load_dataLoad input data, including pr2ar, the PfPR, and the AM.
load_pixel_scriptLoads a script that has functions to compute pixel values.
load_planLoad the plan that you saved.
mainIf you want to run from the Bash command line, you can call...
my_tasksPull my work, according to my task index.
over_block_drawRun the pixel function on a chunk of data.
pixel_bounding_boxGiven a bounding box in map coordinates (maybe lat-long),...
pixel_fourThis version works harder on the low end and high end of PfPR...
pixel_threeThis version works harder on the low end and high end of PfPR...
pixel_twoThis was made with fits to the middle values of PfPR. It was...
plan_domain_decompositionGiven command-line arguments, determine how much data to...
plot_as_pngCustomized plotting for different variables.
prepare_timeseriesGiven the raw input data, prepare it for computation.
raster_extent_from_workGiven a list of tiles, figures out the bounding box of pixel...
read_dataset_namesFinds the name of every three-dimensional array in a file.
remove_tiles_over_waterRemoves tiles that have all NA for this example slice.
save_chunksSave a list of arrays to a single file.
save_planSave a plan for parallel execution to a file.
slice_funcmainIf you want to run from the R command line, you can call...
slice_mainIf you want to run from the Bash command line, you can call...
summarize_drawsGiven a list of draws, summarize mean and confidence...
task_workTakes the extent of the tiles and returns a list of which...
task_work_from_tilesTakes the extent of the tiles and returns a list of which...
workerReads the plan and produces this task's part of that plan.
write_outputGiven outputs for a tile, write them to a folder.
years_in_filenamesGiven a bunch of filenames, find all four-number digit...
dd-harp/globalrc documentation built on Sept. 20, 2021, 12:31 a.m.