Configuration

Some settings, particularly the location of large databases, are stored in a global configuration file. The location of this file on your system can be found by running:

import sasktran as sk

print(sk.config.user_config_file_location())

The file is a standard yaml format file that can be edited with any text editor. The format of the file is key: value

Keys

ecmwf_directory

Controls where the ECMWF grib files are located to use the sasktran.ECMWF object. This directory should contain daily ecmwf grib files in the form /YYYY/MM/ERA-Int_ml_YYYYMMDD.grib The standard value for this key when on the University of Saskatchewan network is \utls\GeophysicalDatabases\ecmwfncd

hitran_directory

Location of the HITRAN 2008 database. Necessary to use the sasktran.HITRANChemical object. Folder should contain a HITRAN2008 directory which contains the database. The standard value for this key on the University of Saskatchewan network is \utls\OsirisDataProducts\hitran

baum_directory

Location of the Baum 2014 ice crystal optical property database. Necessary to use the sasktran.BaumIceCrystal object. Folder should contain the file GeneralHabitMixture_SeverelyRough_AllWavelengths_FullPhaseMatrix.nc. The standard value for this key on the University of Saskatchewan network is \utls\OsirisDataProducts\BaumIceCrystals