Project

General

Profile

Can I use ml2hl for CCSM4(CAM4) Wind results?

Added by Leilane Passos almost 8 years ago

Hi,

I need interpolate CCSM4 wind from hybrid-sigma level for 10m height. I need CCSM4 wind (U e V) in 10m height for put it in a Hydrodynamical model (ROMS) like forcing file;

Fisrt, I interpolated hybrid-sigma level for pressure using ml2pl, making ("hyai=hyai*100000;hyam=hyam*100000;") before the interpolation like explain Uwe in this post (https://code.zmaw.de/boards/1/topics/2997) and seems to work. I interpolated for pressure just for tests.

So then, I interpolated hybrid-sigma level for height using ml2hl (making ("hyai=hyai*100000;hyam=hyam*100000;" before the interpolation) and seems to work too, but in the first height levels, like 10m (that I need), the interpolation results in fill values.

______________________________________________________________________________________________________________________________________
#!/bin/bash

height="0,10,20,30,40,50,80,100,200,500,800,1000,2000,4000,5000,8000,10000,12000,15000,20000,25000,30000,35000,40000,45000,50000"

cdo -delname,sp \
-ml2hl,"$height" \
-selname,sp,V \
-chname,PS,sp \
V_1990_20thC_forum.nc \
V_0_50000m_forum.nc
______________________________________________________________________________________________________________________________________

I try use ml2hlx for extrapolate values, and this command make the grid positions, before with fill values, to have the same values that the first hybrid-sigma level, in other words, the first levels of height are constant.

Questions:

1) Can I use this CDO commands (ml2pl and ml2hl) for CCSM4 model results?

If the answer for the above question is yes, 2) Use ml2hlx is the right way to resolve my fill values problem?

My CDO version is 1.6.9.

Thanks.

Leilane