Project

General

Profile

How to separate different timeslots files from single merged file

Added by Amit Kumar about 8 years ago

Hi All,
I used "cat" to merge different files of same variable at different timeslots into one file(sorted by timeslots). Now I want to de-merge this single combined file into individual files , which operator should I use. All files have the same variable so I can't use splitname.


Replies (2)

RE: How to separate different timeslots files from single merged file - Added by Amit Kumar about 8 years ago

dataset example:
-1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter name
1 : 2001-01-16 00:00:00 0 64800 50273 : -146.78 6.1117 365.51 : Water_Thickness
2 : 2001-02-16 00:00:00 0 64800 50273 : -159.97 6.6114 385.99 : Water_Thickness
3 : 2001-03-18 00:00:00 0 64800 50273 : -138.08 7.0662 337.71 : Water_Thickness

now I want them to be separated by date into single file and be named by date only for easy identification.

    (1-2/2)