- 积分
- 10
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-2-16
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2016-2-16 23:42:43
|
显示全部楼层
我的文件都很大,是不是只需要处理就好了?不过生成新的文件也可以,只要我的variables顺序变了就好。因为刚接触这个,所以很多都不是很懂,只知道一个大概。现在脑子里就知道要改顺序,但不知道怎么操作。
我是用WRF做气候模拟,虽然这个论坛是搞气象的,但我觉得还是问问这里比较好。我用的是GFDL的数据当做input到ungrib,但是GFDL下载的nc文件不能直接被ungrib读取,所以,我需要先对nc文件做处理,然后转成grib,最后input到ungrib.exe里。
我试过直接用cdo做处理http://www.meteo.unican.es/wiki/cordexwrf/SoftwareTools/CmorPreprocessor,无果。后来看到这个帖子,得知需要先对nc文件做处理,觉得会对我很有帮助:http://forum.wrfforum.com/viewtopic.php?f=22&t=6946
里面提到:“Next, I read in each netcdf file, resorted the variable order, and removed the excess data. I found the GFDL output is not entirely CFL compliant. To fix it you need resort the variables and dimensions to be in the same order. Specifically, time, lev, lev_bnds, lat, lat_bnds, lon, lon_bnds in the variables and time, lev, lat, lon in the dimensions. The order of the remaining variables I found did not matter. You will also need to removed the "bnds" attribute from the a and b variables (else CDO will not read the vertical coordinate correctly). If you need a reference, I would suggest downloading a file or two from MIROC5 and trying to match its style. I found this format served me well with MIROC5, but also with GFDL-ESM2M. At this stage you are ready for CDO...” |
|