varunayan.search_and_desc package¶
Submodules¶
Module contents¶
- varunayan.search_and_desc.describe_variables(variable_names: List[str], dataset_type: str) Dict[str, str][source]¶
Get descriptions for specific variables
- varunayan.search_and_desc.search_variable(pattern: str | None, dataset_type: str = 'all') None[source]¶
Search for variables in the dataset by pattern
- varunayan.search_and_desc.list_available_variables(dataset_type: str = 'single') List[str][source]¶
List all available variable names for a dataset type.
- Parameters:
dataset_type – Dataset type (“single”, “pressure”, or “all”)
- Returns:
List of variable names
- varunayan.search_and_desc.get_available_pressure_levels() List[str][source]¶
Get list of available pressure levels for ERA5 pressure level data.
- Returns:
List of pressure level strings (in hPa)
- varunayan.search_and_desc.get_variable_info(variable_name: str, dataset_type: str = 'all') Dict[str, Any] | None[source]¶
Get detailed information about a specific variable.
- Parameters:
variable_name – Name of the variable
dataset_type – Dataset type to search
- Returns:
Dictionary with variable info or None if not found
- varunayan.search_and_desc.get_variable_units(variable_name: str, dataset_type: str = 'all') str | None[source]¶
Get the units for a specific variable.
- Parameters:
variable_name – Name of the variable
dataset_type – Dataset type to search
- Returns:
Unit string or None if not found