Man pages for varunayan
Download and Process 'ERA5', IMD, 'HadEX3' and 'CRU TS' Data

aggregate_by_frequencyAggregate data by temporal frequency
aggregate_imd_by_frequencyAggregate IMD data by temporal frequency
aggregate_to_polygonsAggregate gridded data to polygon regions
anomalyDeparture from the mean over a baseline period
cache_statsGet cache statistics
calc_heat_indicesCalculate all heat stress indices
categorize_variablesSort variables by aggregation method
check_cacheFind if data is in the cache
check_grid_coverageCalculate the grid coverage statistics for polygons
check_imd_serverCheck the connection to the IMD server
check_system_readinessMake sure that the system is ready for varunayan operations
cleanup_temp_filesDelete temporary files that match a pattern
clear_cacheClear cache
clear_timingsClear all time data
combine_netcdf_filesCombine NetCDF files into one data.frame
compareAgreement statistics between two columns
compare_gridsCompare two or more grids
compute_optimal_chunk_sizeCalculate the optimal chunk size for the CDS field limits
convert_era5_unitsConvert ERA5 units to user-friendly units
convert_to_geojsonConvert data to GeoJSON format
create_geojson_from_bboxCreate GeoJSON from bounding box coordinates
create_temp_geojson_fileCreate temporary GeoJSON file
create_temporal_chunksDivide large date ranges into temporal chunks
cross_correlationCross-correlation of two series
cru_ts_bboxDownload CRU TS climate data for a bounding box
cru_ts_geojsonDownload CRU TS climate data for a GeoJSON region
describe_variablesDescribe ERA5 variables in detail
dewpoint_from_relative_humidityCalculate dewpoint from temperature and relative humidity
dot-parse_nc_timeParse numeric time values from a NetCDF file
dot-read_ncdf4_fastFast NetCDF reader with ncdf4 + data.table
dot-read_ncdf_stars_fallbackNetCDF reader with stars (fallback for non-standard files)
dot-resolve_country_polygonConvert a country specification to an sf polygon
download_era5_pressureDownload ERA5 pressure-level data with ecmwfr
download_era5_singleDownload ERA5 single-level data with ecmwfr
download_era5_timeseriesDownload ERA5 data for a point with the CDS time-series...
download_imd_rainfallDownload IMD gridded rainfall data
download_imd_temperatureDownload IMD gridded temperature data
download_imd_yearInternal function to download a single year of IMD data
ensure_output_dirCreate the output directory if it does not exist
era5ify_bboxDownload and process ERA5 data for a bounding box
era5ify_geojsonPascalCase Aliases
era5ify_pointDownload and process ERA5 data for a point location
estimate_cds_fieldsEstimate the number of CDS "fields" in a request
excess_heat_factorExcess Heat Factor
exclude_colsColumns to exclude from aggregation
exposure_indicatorsHeat exposure indicators
extract_point_dataExtract data for a specified point location (nearest...
filter_dataframe_by_geojsonFilter data.frame by GeoJSON polygon
filter_imd_by_bboxFilter IMD data by spatial boundaries
filter_imd_by_geojsonFilter IMD data by GeoJSON polygon
filter_netcdf_by_bboxFilter NetCDF data by spatial boundaries (bounding box)
filter_netcdf_by_geojsonFilter NetCDF data by GeoJSON polygon
format_date_rangeFormat date range for CDS API requests
format_pressure_levelsConvert pressure levels to the character format necessary for...
generate_cache_keyMake a cache key for download parameters
get_available_datasetsGet available dataset types
get_available_pressure_levelsGet the standard pressure levels that are available in ERA5
get_bbox_from_sfGet bounding box from sf object
get_cache_dirGet cache directory path
get_cds_credentialsGet CDS API credentials from different sources
get_era5_country_temperatureGet ERA5 temperature data for a country
GetERA5DailyClimateDownload daily ERA5 climate data
GetERA5DailyHeatIndexDataDownload ERA5 data and calculate heat stress indices
GetERA5DailyHumidityDownload daily ERA5 humidity data
GetERA5DailyTemperatureDownload daily ERA5 temperature data
GetERA5DailyWetBulbDownload daily ERA5 wet bulb temperature data
GetERA5DailyWindDownload daily ERA5 wind data
GetERA5MonthlyHeatIndexDataGet monthly ERA5 heat stress index data
get_imd_grid_specsGet IMD grid specifications
get_package_infoGet package version information
get_pressure_level_variable_namesGet all valid pressure-level variable names
get_pressure_level_variablesGet the dataset of pressure-level variables
get_single_level_variable_namesGet all valid single-level variable names
get_single_level_variablesGet the dataset of single-level variables
get_time_valuesGet time values for a frequency
get_timingsGet all recorded time measurements
hadex3_bboxDownload HadEX3 data on climate extremes for a bounding box
hadex3_geojsonDownload HadEX3 data on climate extremes for a GeoJSON region
heat_indexCalculate heat index (apparent temperature)
heat_index_from_dewpointCalculate heat index from dewpoint
heat_index_risk_categoryHeat index risk categories
heatwave_daysHeatwave days
humidexCalculate humidex (Canadian heat index)
imd_exposure_bboxIMD heat exposure indicators for a bounding box
imd_rainfall_bboxDownload and process IMD rainfall data for a bounding box
imd_rainfall_geojsonDownload and process IMD rainfall data for a GeoJSON region
imd_rainfall_pointDownload and process IMD rainfall for a single point (nearest...
imd_stationsIMD weather stations with coordinates
imd_temperature_bboxDownload and process IMD temperature data for a bounding box
imd_temperature_by_regionDownload IMD temperature aggregated for each GeoJSON feature...
imd_temperature_geojsonDownload and process IMD temperature data for a GeoJSON...
imd_terrainIMD heatwave terrain class of a location
india_elevationElevation of locations in India
is_max_varFind if a variable uses maximum aggregation
is_min_varFind if a variable uses minimum aggregation
is_rate_varFind if a variable is a rate variable
is_sum_varFind if a variable uses sum aggregation
is_valid_geojsonFind if data is valid GeoJSON
list_available_variablesList all available variables for a dataset type
list_cacheList cached files
list_cru_ts_variablesVariable data dictionary for CRU TS
list_hadex3_indicesList the available HadEX3 ETCCDI indices
list_imd_datasetsList available IMD datasets
load_india_boundariesLoad India state or district boundaries
max_varsVariables for maximum aggregation
mean_radiant_temperatureEstimate mean radiant temperature
min_varsVariables for minimum aggregation
ndbiNormalized Difference Built-up Index
ndviNormalized Difference Vegetation Index
parse_date_flexibleParse a date string in different formats
peak_monthMonth of the largest long-term mean
plot_barsBar chart coloured by value
plot_ccfStem plot of a cross-correlation
plot_dual_axisTwo series on a left and a right axis
plot_heatmapHeat map of a matrix or of a long data frame
plot_mapMap one or more columns of gridded or polygon data
plot_scatterScatter plot with the 1:1 line, r and bias
plot_seriesLine plot, one line per group
populate_sample_cacheFill the cache with sample IMD data
print_timing_summaryPrint a summary of the time data
process_imd_filesProcess multiple IMD files
process_netcdf_to_dataframeExtract data from a NetCDF file into a data.frame
rate_varsRate variables to average
read_cdsapircRead CDS API credentials from ~/.cdsapirc file
read_imd_rainfallRead IMD NetCDF rainfall file
read_imd_rainfall_croppedRead only the bbox area of an IMD rainfall NetCDF file (fast...
read_imd_rainfall_ncdf4Read IMD NetCDF with ncdf4
read_imd_temperatureRead IMD binary temperature file
regridAverage onto a coarser regular grid
relative_humidity_from_dewpointCalculate relative humidity from temperature and dewpoint
save_to_cacheSave file to cache
search_variableSearch for ERA5 variables by keyword
seasonal_cycleMean for each calendar month
seasonal_statSeasonal total or mean, averaged over years
setup_cds_credentialsConfigure CDS credentials for ERA5 data access
show_cache_infoShow cache contents and statistics
spatial_meanSpatial mean over grid points
sum_varsVariables to sum over time
time_operationMeasure the time of an operation and record the duration
utciCalculate UTCI (Universal Thermal Climate Index)
utci_categoryUTCI thermal stress categories
utci_sparseCalculate UTCI with a sparse regression approximation
validate_bboxMake sure that bounding box coordinates are valid
validate_coordinatesMake sure that geographic coordinates are valid
validate_era5_variablesValidate ERA5 variable names
vapor_pressure_from_dewpointCalculate vapor pressure from dewpoint temperature
varunayan-packagevarunayan: Download and Process 'ERA5', IMD, 'HadEX3' and...
visualize_grid_overlapShow the overlap of grid points and polygons
warm_nightsWarm nights
wbgtWet Bulb Globe Temperature
wbgt_from_dewpointCalculate WBGT from dewpoint
wbgt_liljegrenOutdoor Wet Bulb Globe Temperature (Liljegren method)
wbgt_risk_categoryHeat stress risk categories
wbgt_shadeCalculate shade/indoor Wet Bulb Globe Temperature (ISO 7243)
wbgt_simpleCalculate WBGT (Wet Bulb Globe Temperature)
wet_bulb_from_dewpointCalculate wet bulb temperature from dewpoint
wet_bulb_temperatureCalculate wet bulb temperature
varunayan documentation built on Oct. 30, 2026, 1:07 a.m.