/cclm_plotting

plotting codes for CCLM outputs

Primary LanguageJupyter NotebookMIT LicenseMIT




CclmPyPlot

An automated python plotting tool for COSMO-CLM regional climate model netcdf format outputs in curvilinear grid.

  • the program assumes that the netcdf files contain rotated grids (rlon, rlat)

  • if they do not contain such informations you could use nco to write these informations from another file:

  • To make coordinates correct again do for example:

    ncatted –h -a coordinates,T_2M,c,c,"rlon rlat" T_2M_mm.nc
    

    (the coordinates attribute is created) and

    ncks -A -v rlat,rlon T_2M_ts.nc T_2M_mm.nc 

    (the correct lat, lon values are appended from a file that includes these variables). Here we assume that the T_2M_ts.nc contains rlat and rlon values.

packages

  • cartopy
  • netcdf-bin
  • NETCDF4

test case video :

cclm python plot