You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To construct a radiance datacube, we may wish to use readdir() on a folder containing a series of consecutive monthly files. If readdir() produces chronologically ordered files, this will construct the correctly sequenced datacube. However, it is better to replace readdir() with readdir_nl(), which can extract the timestamp from the filename directly. Since night light files from EOG are sequenced as "sensor_satellitename_timestamp_ ...", in any instance a different satellite source is used for a monthly image, there will be no disruption in chronological ordering. Function that can be used to extract the date:
I cannot seem to hyperlink lines from pull requests that have not been approved (can you do the above for any line of read_nl.jl?).
I suggest we approve pull request #41 in entirety. lines 1-7 and line 20 in read_nl.jl and the corresponding change suggested in line 41 Karmana.jl to include read_nl.jl will solve the issue described.
To construct a radiance datacube, we may wish to use readdir() on a folder containing a series of consecutive monthly files. If readdir() produces chronologically ordered files, this will construct the correctly sequenced datacube. However, it is better to replace readdir() with readdir_nl(), which can extract the timestamp from the filename directly. Since night light files from EOG are sequenced as "sensor_satellitename_timestamp_ ...", in any instance a different satellite source is used for a monthly image, there will be no disruption in chronological ordering. Function that can be used to extract the date:
get_date_from_filename(filename) = Date(parse(Int, match(r"\d{8}", filename).match))
A similar solution has been proposed in pull request #41
The text was updated successfully, but these errors were encountered: