; ============================================================================================ pro setup_grids,thresh,nthresh,lat_grid,nbin,type,ntype ; ============================================================================================ ; Sets up the basic latitude and albedo threshold grids. ; Defines three basic 3C file TYPES. ; -------------------------------------------------------------------------------------------- ; --------------------------- ; Define albedo thresholds. ; --------------------------- nthresh=35 thresh=findgen(nthresh)+1. ; ------------------------------ ; Set up latitude binning grid. ; ------------------------------ nbin=120 minlat=30 lat_grid=findgen(nbin/2)+minlat lat_grid=[lat_grid,180-reverse(lat_grid)] ; ------------------- ; Define file types. ; ------------------- type=['cld','all'] ntype=2 return end