[Thread Prev][Thread Next][Index]
[ferret_users] scattered ASCII data to NetCDF
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] scattered ASCII data to NetCDF
- From: Paulo Henrique <paulohsm@xxxxxxxxx>
- Date: Thu, 26 Jun 2008 08:48:18 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=bLJJ9K0yMiXc/BtvDx1vidXWFODNgot9CBT7oHbwwfU=; b=GISqn39mpSnuBQ7yC8ZpQUB85kqHZvDgG9S/Cukq116ApAggndQmxpzaldRxxYTEVU sJTwqN5maaUHUU2svP45t/U3UGZjoaFwSWr8mGTTGVGr6VbDy6gk35+7DhNyVtrFmYSP 5jvdWy+j7tR6jWgf5JIIdijSR9c6cAnfzGveQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=LCpOg+OVNVS/CDh63zE9ERjtF0WG1lY/Piclurqf9I3gc51rhzHDcHuT58GZzHXZ23 Lrb5BFElGy9v8GDAByK01xytoa6Jd8oJnRRw5rZ14qJofwaK0x2jPmPVWgBJNjd9y+OR jiIVW1y42FFIWMO0Ry/5jPSbDpK1m+nRgCYfI=
- Sender: owner-ferret_users@xxxxxxxx
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