# Number Density

Ozone and nitrogen profiles are given in units of mol/m3. To convert them to number density profiles with units of molecules per cm-3, multiply by 6.02214076e+17.

import os
import xarray as xr
import matplotlib.pyplot as plt

# load data and set time as the dimension
v7_folder = r'path\to\v7_data'
data = xr.open_mfdataset(os.path.join(v7_folder, '*.nc'))
data = data.swap_dims({'profile_id': 'time'})