pyart.core.Grid.write

Grid.write(filename, format='NETCDF4', arm_time_variables=False, arm_alt_lat_lon_variables=False)[source]

Write the the Grid object to a NetCDF file.

Parameters
  • filename (str) – Filename to save to.

  • format (str, optional) – NetCDF format, one of ‘NETCDF4’, ‘NETCDF4_CLASSIC’, ‘NETCDF3_CLASSIC’ or ‘NETCDF3_64BIT’.

  • arm_time_variables (bool, optional) – True to write the ARM standard time variables base_time and time_offset. False will not write these variables.

  • arm_alt_lat_lon_variables (bool, optional) – True to write the ARM standard alt, lat, lon variables. False will not write these variables.