RADARAPI and DBAPI naming #367
Replies: 6 comments 7 replies
-
CDAAPI is wrong |
Beta Was this translation helpful? Give feedback.
-
Adam suggested: Or renaming DBAPI and RADARAPI into: cwms_scripting_cda.jy |
Beta Was this translation helpful? Give feedback.
-
Daniel voted against anything that includes DBAPI b/c DB API is a python standard ( I think this one https://peps.python.org/pep-0249/ ) |
Beta Was this translation helpful? Give feedback.
-
The underscores look wrong to me. How many projects actually name that way in python these days? |
Beta Was this translation helpful? Give feedback.
-
what about |
Beta Was this translation helpful? Give feedback.
-
Let's go with cwmsjy and cwmspy. Simple, points out where it's used. I think our internal Field sufficiently understands the "cannonical" data representation of each (Timeseries Containers for Jython, pandas data frames for python) AND and cwmsr (or maybe Rlang) that creates R data frames would also make sense and be useful in the future and allow similar naming. Our existing DBAPI can just stay that way, eventually it we be dropped to get everyone though the web APIs |
Beta Was this translation helpful? Give feedback.
-
In 2010 or so a jython object for interacting with the cwms database was created. This class was called DBAPI. People wrote jython scripts that used the interface. Later a Web API for accessing the cwms database was created. This was called RADAR. A new jython class that reimplemented most of the DBAPI methods but against RADAR instead of against raw jdbc connections was created. This class was called RADARAPI because it was like the DBAPI class but communicated with RADAR instead of directly to the DB.
The RADAR service was renamed CDA.
A new name for RADARAPI is needed.
Beta Was this translation helpful? Give feedback.
All reactions