to_dict

pyarts.arts_ext.GriddedFieldExtras.to_dict(self)[source]

Convert gridded field to dict.

Converts a gridded field object into a classic Python dictionary. The gridname is used as dictionary key. If the grid is unnamed the key is generated automatically (‘grid1’, ‘grid2’, …). The data can be accessed through the ‘data’ key.

Returns:

pydict – Dictionary containing the grids and data.

Return type:

dict