pyrad.io.write_trt_rpc#

pyrad.io.write_trt_rpc(cell_ID, cell_time, lon, lat, area, rank, hmin, hmax, freq, fname, timeformat='%Y%m%d%H%M')[source]#

writes the rimed particles column data for a TRT cell

Parameters:
  • cell_ID (array of ints) – the cell ID

  • cell_time (array of datetime) – the time step

  • lon, lat (array of floats) – the latitude and longitude of the center of the cell

  • area (array of floats) – the area of the cell

  • rank (array of floats) – the rank of the cell

  • hmin, hmax (array of floats) – Minimum and maximum altitude of the rimed particle column

  • freq (array of floats) – Frequency of the species constituting the rime particle column within the limits of it

  • fname (str) – file name where to store the data

Returns:

fname (str) – the name of the file where data has written