[Thread Prev][Thread Next][Index]

Re: [ferret_users] scattered ASCII data to NetCDF



Hi Paulo

there is a function "scat2grid" that grids scattered data. Check the
documentation for detailed explanations Ch3 Sec2.3:
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/index/index-s

Hanh

> Hi Ferreters,
>
> I have some scattered precipitation data stored in a ASCII file with LON
> in
> first row, LAT in second row and with third to last rows being daily
> accumulated rainfall relative to that (lon,lat) beginning at 01-jan-2008
> separated by semicolons, e.g.:
>
> -39.05;-7.37;0;0;0;0;0;0;0;0;0;0;0;23;10;5;8 ;...
> -40.12;-2.88;0;9.8;0;12.6;17.2;0;0;11;0;0;0;0;0;4.2;0 ;...
> -39.58;-6.08;0;0;0;0;0;0;0;0;0;0;0;0;5;20;0 ;...
> -40.12;-6.57;0;0;0;3;0;0;0;0;0;0;0;0;0;0;13 ;...
> -40.55;-3.58;0;0;0;0;0;0;0;6;0;0;0;0;0;0;4 ;...
> -39.73;-7;0;0;0;25.9;0;0;0;0.8;0;0;0;0;2.8;9.4;9.6;0 ;...
> -38.25;-5.52;0;0;0;0;0;0;0;0;0;0;0;0;2;0;2.2;...
> .
> .
> .
>
> The full dataset covers about 170 days and, hence, we may expect about 170
> rows. I know this procedure to read ASCII data:
>
> file/form=delim/delim="<delim>"/var="lon,lat,day1,day2,day3,...,dayN"
> my_ascii_data.txt
>
> But it seems to be not really useful in my case.
>
> Is there a way to produce a NC file with one variable ('precip') in a
> regular time axis and irregular XY axis?
>
> If not, should be useful a solution to read this data without specifying
> one
> variable for each day (say, using file/var="<list of vars>" my_data.txt).
>
> Well... to finish, I would assure a nice reward for that who first help to
> solve this problem!
>
> Thanks
>
>
> --
> Ms. Paulo Henrique Santiago de Maria
> Grupo de Modelagem Atmosférica
> Departamento de Meteorologia e Oceanografia
> Fundação Cearense de Meteorologia e Recursos Hídricos
> Av. Rui Barbosa 1246 - CEP 60115-221
> Fortaleza, Ceará
> Fone: (85) 3101-1106 / 3101-1126
>



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement