create irradiance composite graph

This commit is contained in:
Eric Hulburd
2016-03-11 17:38:03 -06:00
parent 2dd9389694
commit 782f5cbf91
32 changed files with 824 additions and 379 deletions

View File

@@ -17,7 +17,9 @@ class DateRange {
if (end && !DateRange.eq(end, range[0]) && DateRange.lte(end, range[0])){
new_ranges.push([last_start, end]);
new_ranges.push(range);
gaps_filled.push([last_end, end]);
if (!DateRange.eq(end, last_end)){
gaps_filled.push([last_end, end]);
}
covered = true;
} else if (end && !DateRange.gte(end, range[1])) {
new_ranges.push([last_start, range[1]]);