Generate coordinates dataset for final NSRDB output
Closed this issue · 4 comments
Why this feature is necessary:
Coordinates datasets are often added to final NSRDB data. Might as well have that generated when running nsrdb pipeline.
coordinates:
shape = (n, 2)
dtype = np.float32
order = (lat, lon)
There should probably be an instance method in the reV outputs handler that creates the coordinates dataset with proper chunks, then add a kwarg add_coords=False
(false by default, we dont usually need this) to a common entry point:
Actually probably in here (forgot we subclass the reV outputs handler for NSRDB applications):
nsrdb/nsrdb/file_handlers/outputs.py
Line 27 in b2f01d3
added coordinate chunks here
nsrdb/nsrdb/file_handlers/outputs.py
Lines 59 to 62 in 0cc0a99
nsrdb/nsrdb/file_handlers/outputs.py
Lines 73 to 74 in 0cc0a99