2017-11-29 6 views
0

Ich habe einige Probleme, wenn ich versuche, einige Grib-Dateien von CFSR zu konvertieren. wenn ich ncl_convert2nc in dem UNIX-Shell verwenden, die NC-Datei Informationen sind wie folgt:Probleme, wenn ich Grib2 in Netcdf4 umwandle

netcdf flxf01.gdas.197901 { 
dimensions: 
     ygrid_0 = UNLIMITED ; // (0 currently) 
     lv_DBLL0 = 4 ; 

variables: 

// global attributes: 
       :creation_date = "Sun Nov 12 11:29:36 AEDT 2017" ; 
       :NCL_Version = "6.3.0" ; 
       :system = "Linux charcoalp-Lenovo-Erazer-Y50-70 4.10.0-38-generiC#42-Ubuntu SMP Tue Oct 10 13:24:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux" ; 
       :Conventions = "None" ; 
       :grib_source = "flxf01.gdas.197901.grb2" ; 
       :title = "NCL: convert-GRIB-to-netCDF" ; 
} 

und dies nur dann geschehen, wenn ich CFSR Daten grib2-Dateien zu konvertieren.

hier ist ein Teil der Informationen über die Herkunft Datei:

Nio file: flxf01.gdas.197901.grb2 
    global attributes: 
    dimensions: 
     lat_0 = 576 
     lon_0 = 1152 
     lv_DBLL0 = 4 
    variables: 
     float TMP_P8_L1_GGA0_avg744h [ lat_0, lon_0 ] 
     center : US National Weather Service - NCEP (WMC) 
     production_status : Operational products 
     long_name : Temperature 
     units : K 
     _FillValue : 1e+20 
     grid_type : Gaussian latitude/longitude 
     parameter_discipline_and_category : Meteorological products, Temperature 
     parameter_template_discipline_category_number : [8, 0, 0, 0] 
     level_type : Ground or water surface 
     level : 0 
     type_of_statistical_processing : Average 
     statistical_process_duration : 744 hours (ending at forecast time) 
     forecast_time : 745 
     forecast_time_units : hours 
     initial_time : 01/01/1979 (00:00) 
     float TMP_P8_L103_GGA0_avg744h [ lat_0, lon_0 ] 
     center : US National Weather Service - NCEP (WMC) 
     production_status : Operational products 
     long_name : Temperature 
     units : K 
     _FillValue : 1e+20 
     grid_type : Gaussian latitude/longitude 
     parameter_discipline_and_category : Meteorological products, Temperature 
     parameter_template_discipline_category_number : [8, 0, 0, 0] 
     level_type : Specified height level above ground (m) 
     level : 2 
     type_of_statistical_processing : Average 
     statistical_process_duration : 744 hours (ending at forecast time) 
     forecast_time : 745 
     forecast_time_units : hours 
     initial_time : 01/01/1979 (00:00) 

wie Sie sehen können es in der Lage ist, die Variablen aus der grib-Datei zu finden. Warum ist die NC-Datei leer? ncl_convert2nc funktionieren für Grib-Dateien des JRA-55-Reanalysesatzes. Kann mir jemand helfen, das Problem zu finden?

Antwort

0

Nur aus Interesse, haben Sie versucht, mit CDO? Ich denke, der Befehl lautet:

cdo -f nc4 copy in.grb out.nc 
Verwandte Themen