I have a problem I dont know how to solve. I have a Julian day number (integer) and a distance value (float) and I have another number which is the actually julian day of interest (integer). I want to take the actual julian day and fit it into the julian day ranges (i.e Julian day 1-14) so that I can determine the Distance value for that specific julian day. So my Julian day 10, fits in the julian day range or 1 - 14, making the distance = 0.9832. Any help on this would be greatly appreciated. All I ve tried so far is to use if else but I dont think this will work at all. Your ideas are welcome. (let me know if I not clear what I m trying to do!)
Julian Day Distance 1 0.9832 15 0.9836 32 0.9878 46 0.9878 60 99.0900