0

我有一个 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 命令表示赞赏。谢谢。

4

1 回答 1

1

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

于 2017-09-15T16:49:43.277 回答