<html><head></head><body><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><div style="font-family:bookman old style, new york, times, serif;font-size:16px;"><span><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">Hi,</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">I use attached 'ncl' file to read attached '.csv' file. I use "<span style="background-color: rgb(173, 215, 115);">get_unique_values</span>" to obtain unique value of "station_id" and "<span style="background-color: rgb(173, 215, 115);">count_unique_values</span>" <span style="color: rgb(51, 51, 51); font-family: verdana, sans-serif; font-size: 13.3333px;">to count the number of unique values</span>.</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">However I want to count the number of repetition of each unique values. Is there any function in 'ncl' for this aim? I mean I want to know the number of repetition of "station_id" using a prepared function in ncl.</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">I'll be thankful for any help.</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;"><br></div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">Note: Some rows doesn't have any values for "sum", so reading file causes following massage:</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;"><span style="background-color: rgb(253, 248, 105);">warning:tofloat: A bad value was passed to (string) tofloat, input strings must contain numeric digits, replacing with missing value</span><br></div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;"><br></div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;"><br></div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">Sincerely</div><div style="font-family: "bookman old style", "new york", times, serif; font-size: 16px;">Ehsan</div></span></div></div></div></body></html>