Project

General

Profile

cdo ml2pl interpolation problems

Added by Alan Zhang over 10 years ago

Hi I am using CDO ml2pl to interpolate my data from hybrid-level to pressure level. After I did that, there are some "-," values for the missing values in the new files. So how can I change the "-," to some numbers, like "1.0e+10".

I have attached my zaxis file. I think it's right.

zaxistype = hybrid
size = 48
levels = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 48
vctsize = 98
vct = 1.000 2.697 5.171 8.895 14.248 22.072 33.613 50.481 74.800 109.401 158.005 225.441 317.896 443.194 611.116
833.744 1125.834 1505.207 1993.158 2614.863 3399.784 4382.063 5600.870 7100.731 8931.783 11149.965 13817.163
17001.210 20775.820 23967.334 25527.648 25671.226 24609.299 22640.514 20147.139 17477.640 14859.869 12414.927
10201.442 8241.503 6534.432 5066.179 3815.607 2758.603 1870.646 1128.339 510.480 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.013 0.049 0.107 0.185 0.275 0.369 0.461 0.546
0.623 0.691 0.750 0.801 0.845 0.881 0.912 0.938 0.960 0.977 0.992 1.000


Replies (1)

RE: cdo ml2pl interpolation problems - Added by Alan Zhang over 10 years ago

Sorry. The command is like this:

cdo setzaxis,myzaxisinvert.dat infile.nc temp1.nc

cdo ml2pl,100000,97500,95000,92500,90000,87500,85000,82500,80000,77500,75000,70000,67500,65000,62500,60000,57500,55000,52500,50000,47500,45000,42500,40000,37500,35000,32500,30000,27500,25000,22500,20000,17500,15000,12500,10000,7000,5000,3000 temp1.nc temp2.nc

    (1-1/1)