Skip to content

nmc_met_io/nmc_met_io/retrieve_cmadaas.py中cmadaas_model_3D_grids函数体中,example运行失败 #24

@stonemoonkey

Description

@stonemoonkey
>>> valid_times = [6*i for i in range(13)]
>>> levels = [1000, 950, 925, 900, 850, 800, 700, 600, 500, 400, 300, 250, 200, 100]
>>> data = cmadaas_model_3D_grids("NAFP_FOR_FTM_HIGH_EC_ANEA", "2020021512", 24, 'TEM', levels, 100, units="C", scale_off=[1.0, -273.15], 
                                 levattrs={'long_name':'pressure_level', 'units':'hPa', '_CoordinateAxisType':'Pressure'})

参数24,似应改为valid_times,否则报错:int类型不能被迭代。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions