spyfit.io.sfit4.read_ref_profiles

spyfit.io.sfit4.read_ref_profiles(filename, rdim='rlevel')

Read coordinates, atmosphere and gas reference profiles.

Use this function to load ‘in.refprofile’.

Parameters:

filename : str

Name or path to the file.

rdim : str

Name of the dimension of the input reference profiles (default: ‘rlevel’).

Returns:

dataset : dict

A CDM-structured dictionary.