Doing templates from .nc files
Guilherme Martins
jgmsantos at GMAIL.COM
Wed Sep 23 19:53:47 EDT 2009
You have to do:
sdfopen uwnd.1990.nc uwnd.%y4.nc 200
d your_variable
uwnd.%y4.nc = your template
200 = number times you want
This resolve your problem.
Guilherme.
2009/9/23 Ajaya Mohan <Ajaya.Mohan at ec.gc.ca>
> 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
>>
>
--
-----------------------------------------------------------
José Guilherme Martins dos Santos
Grupo de Modelagem da Atmosfera e Interfaces - GMAI
Divisão de Modelagem e Desenvolvimento
Centro de Previsão de Tempo e Estudos Climáticos - INPE
Rodovia Presidente Dutra, km 39 - CEP 12630-000
Cachoeira Paulista, SP, Brasil
Telefone(CP): +55 12 3185 8529 / Celular: +55 12 91678770
E-mail: guilherme.martins at cptec.inpe.br
E-mail alternativo: jgmsantos at gmail.com
Homepage: http://jgmsantos.googlepages.com/index.html:
-----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090923/563f9d2a/attachment.html
More information about the gradsusr
mailing list