Doing templates from .nc files

Ajaya Mohan Ajaya.Mohan at EC.GC.CA
Wed Sep 23 20:13:24 EDT 2009


Use this as a template.
Copy the following in a ctl file and use open <ctl file>
for the avhrr sst  from ftp://eclipse.ncdc.noaa.gov/pub/OI-daily-v2/NetCDF/
Of course, tdef represents time of the data you want to use

ajaya

Ajaya Mohan wrote:
> Try this, I am using Version 1.9b4, it should work....
>
>
> dset ^avhrr-only-v2.%y4%m2%d2.nc
> options template
> dtype netcdf
> undef -9.96921e+36 _FillValue
> unpack scale_factor add_offset
> title Daily-OI-V2, final, Data (Ship, Buoy, AVHRR, GSFC-ice)
> xdef 1440 linear  0.125 0.25
> ydef 720 linear -89.875 0.25
> zdef 1 linear 1 1
> tdef 40 linear 00Z10SEP1982 1dy
> vars 4
> sst=>sst   0 t,z,y,x Daily sea surface temperature
> anom=>anom  0 t,z,y,x Daily sea surface temperature anomalies
> err=>err   0 t,z,y,x Estimated error standard deviation of analysed_sst
> ice=>ice   0 t,z,y,x Sea ice concentration
> endvars
>
> ajaya
>
> Saulo Carvalho wrote:
>> Hello everybody,
>>
>>
>> I'm working with avhrr data files available in
>> ftp://eclipse.ncdc.noaa.gov/pub/OI-daily-v2/NetCDF/. For my surprise,
>> when I make a .ctl file in order to template the .nc's, it doesn' t
>> work. As these files has 4 variables, it may have a problem in making
>> the template.
>>
>>
>> Is there an alternative way to solve this problem?
>>
>>
>> ________________________________________
>> Saulo Carvalho
>>
>>
>> SEMA
>> Diretoria de Recursos Hídricos
>
>
>



More information about the gradsusr mailing list