Hello @dev,

Hope everybody is doing great! Me and Lewis have started integrating PODAAC
data source into OCW. During my efforts into this I have started examining
dap.py in data_source folder of ocw. An issue was raised regarding the same
@[0]. When I started solving the issue I realised that the dataset.py file
creates an ocw dataset by taking lat, lon, time and other parameters as
input. I have some doubts regarding this

1) Does the ocw dataset definitely need to have the variables lat, lon and
time?? I have come across some datasets which had only time or only lat and
lan variables(talking about 1D variables) in them.

2) The dap.py which is an openDap data source loader assumes that the
dataset has mainly three 1D variables (time, lat and lon). The tests were
also written according to this assumption, but as I mentioned earlier I
have come across some datasets which didn't necessarily contained these
variables.

3) If we come to an agreement that the dataset shouldn't necessarily
contain this variables and solve CLIMATE-830 accordingly, then what would
be the default values that need to be assigned to the missing variables?? I
am asking this because to create a dataset object in dataset.py we would
require all the three variables(time, lat and lon).

Please pardon me if the above questions sound silly.

Thanks,
Omkar.


[0]
https://issues.apache.org/jira/browse/CLIMATE-830?jql=project%20%3D%20CLIMATE%20AND%20resolution%20%3D%20Unresolved%20AND%20assignee%20%3D%20omkar20895%20ORDER%20BY%20priority%20DESC

Reply via email to