Dear RegCNET users,,
For those who faced a problem in opening CLM4.5 output file the solution is:
1 - With Grads:
./bin/clm45_1dto2d inputfile.nc
cdo griddes inputfile_2d.nc > grid.txt
cdo setgrid,grid.txt inputfile_2d.nc inputfile_2d_1.nc
./bin/GradsNCPrepare inputfile_2d_1.nc input/Domainfile.nc
this will create ctl file for clm4.5 output file. Then type command;
grads -lc 'sdfopen inputfile_2d_1.nc.ctl'
2 - With NCL:
put the Domainfile.nc and inputfile_2d.nc in ncl script with the variable u want to visualize.