【问题标题】:nco, reduce dim, netcdfnco,减少暗淡,netcdf
【发布时间】:2017-09-14 14:56:49
【问题描述】:

我有一个 netcdf 文件

dimensions:
        lsmlat = 1400 ;
        lsmlon = 2800 ;
        time = UNLIMITED ; // (1 currently)
        lsmpft = 1 ;
variables:
        double LATIXY(lsmlat, lsmlon) ;
                LATIXY:long_name = "latitude" ;
                LATIXY:units = "degrees north" ;
        double LONGXY(lsmlat, lsmlon) ;
                LONGXY:long_name = "longitude" ;
                LONGXY:units = "degrees east" ;

我希望变量为

double LATIXY(lsmlat) ;
            LATIXY:long_name = "latitude" ;
            LATIXY:units = "degrees north" ;
    double LONGXY(lsmlon) ;
            LONGXY:long_name = "longitude" ;
            LONGXY:units = "degrees east" ;

以便可以在 GIS 中读取文件。 任何 nco 命令表示赞赏。 谢谢。

【问题讨论】:

    标签: netcdf nco


    【解决方案1】:

    您的原始文件具有曲线网格的结构,其中 lat 和 lon 数组都是二维的。您想要的网格是矩形的,其中 lat 和 lon 都是一维的。一般来说,做到这一点的唯一方法是重新网格化。 NCO 操作员ncremap 进行重新网格化...

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-02
      • 1970-01-01
      • 1970-01-01
      • 2023-03-30
      • 1970-01-01
      • 1970-01-01
      • 2019-03-01
      相关资源
      最近更新 更多