Dear Ferreters,
I have .nc data in which there are many variables but only 2 dimensions that are l and m. l is time (l=1:365 ) and m is no events occurred (m=1:1753). so, I want to list a variable by based on specific condition that is l=@loc:o
Example. variable called 'dist2land', so list/m=1:1753 dist2land[l=@loc:0],
then I am getting list of 'dist2land' when it become 0 during entire l from 1 to 365 in each event from 1 to 1753. Now, I want to list the another variable called 'wind' corresponds to the list of 'dist2land'.
How to list the variable corresponds to another variable being extracted on specific condition
Example:
I have data like this for each value of m(1:1753), L ranges from 1 to 365 shown below
L dist2land wind
1 15 50
2 05 45
3 0 15
4 45 47
. . .
. . .
. . .
upto 365 25 45
Now, I have list the data of dist2land and corresponding wind when dist2land value is 0.
i.e. l=3, corresponding wind is 15. it should be done upto last value of m .i.e. 1753.
Thank you.
Thanks & Regards
B. Sivaiah
Research Scholar
Dept. of Meteorology & Oceanography
Andhra University
Visakhapatnam - 530003
INDIA - 91-9676155827