Dear Ferreters,I have a time series measurements for one point in a text file. I want to fill the same TS value to an area containing multiple points (lat/lon) and convert to a spatial-time series data in .nc format. See the attachment.
or I have a grid file (.nc) with multiple time steps and I want to replace all values by a single value in each time step.
!! your_grid_file.nc contains "xytdata",!! a variable defined on (x,y,t) gridset data your_grid_filelet varXYT = 0 * x[gx=xytdata] + 0 * y[gy=xytdata] + timeseries
set data your_grid_file! There may be a better way. We just want to copy the time axis.define axis/t/from_data/like=xytdata tax = t[gt=xytdata]define grid/t=tax grid_timeseriesfile/grid=grid_timeseries/var=tdummy,timeseries timeseries.txtlet varXYT = 0 * x[gx=xytdata[d=1]] + 0 * y[gy=xytdata[d=1]] + timeseries[d=2]
How can I do it?--Dr. Karnan Chinnadurai, ScientistBiological Oceanography DivisionCSIR- National Institute of OceanographyDona Paula, Goa, India.Contact: 0832 2450 515.Mobile No. +91 9633032345; +91 9941811608
Attachment:
example.png
Description: PNG image