[gradsusr] How to use grib2ctl option for one chosen variable

Wesley Ebisuzaki Wesley.Ebisuzaki at noaa.gov
Thu Apr 28 09:55:20 EDT 2011


Simba,

    No option for grib2ctl/g2ctl.   The solution depends on why you want 
to make
the ctl file for a subset.

(1)  grib2ctl is choosing the wrong vertical coordinate

    You have to make a new grib file with only the variables that you want.
    Simple task for wgrib.

(2) Vertical coordinate is ok.

     Edit the ctl file by removing all the unwanted fields.  Then change 
the "vars N" line
     so that N is the new number of fields in the control file.

   Wesley Ebisuzaki

Chidzambwa Simba wrote:
> Dear All,
> Is there an option that you can use with 'grib2ctl' to create a data 
> descriptor file for just one or two variables from a group of 
> variables? For example for just the u and v wind components?
>  
> Regards
> Simba 
>
>  
>
> +----------------------------------------------------------------+
>
> Think B4U Print
>
> 1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere
>
> 3 sheets of A4 paper = 1 litre of water
>
> +----------------------------------------------------------------+
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>   




More information about the gradsusr mailing list