-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SEP] Reader naming conventions #527
Comments
As mentioned on slack, what if
Then @mraspaud and @adybbroe said that file format would be compulsory/required which I'm not huge fan of because of how ugly some readers might get. Regardless, I think file format should go last if sensor/algorithm is first:
|
After a little more discussion on slack I think this is our new proposal:
If the first field is a Bottom line: The reader name should be easy to identify by new users who may want to use the reader while also not conflicting with other readers (existing or future). Be reasonable. Examples
ComplicationsThe Next, does Next, Deprecation/TransitionA reasonable request by @pnuu is a transition from old reader names over the next couple releases. I say we add a reader name mapping dictionary in |
Slack discussion on the complicated ones:
Note: |
This morning I thought about this some more and was wondering if the I hope to get working on this some time this week if other things go as planned. |
This SatPy Enhancement Proposal [SEP] is to finalize reader naming conventions for all readers provided by SatPy. This issue is set for v0.11 which I think will be the "break all the readers and rename them" release.
I propose the following reader naming convention and rules:
Rules
nc
,hdf
h5
l1b
l2
sdr
edr
All naming scheme fields are optional except
sensor/algorithm
, but at least one of the optional fields should be provided.Future product expectations and community usage (colloquialisms) should also be considered in what naming fields are excluded.
For example, the ABI L1B products stored in NetCDF4 files are the official NOAA product and as such shouldn't be provided in any other "official" format in the future by that name. This means that the reader can be called "abi_l1b" even though "nc_abi_l1b" would be a more detailed name. Other formats that provide similar data for ABI are known by and referred to by other names such as the "CMIP" format. In this case the reader could be called "cmip_abi_l1b" or "cmip_abi_l2".
If a reader's format becomes obsolete, due to changes by the operational processing or satellite mission's organizers, and the new reader's name conflicts with the existing reader, the old reader's name should be prefixed with
legacy_
. The main point being that reader's of new formats are notnew_
readers, but rather just "the reader" for that format.Personal Opinion and Complications
If this naming scheme was only for computer/internal use then I'd say things like
nc_abi_l1b
would be preferred. Since these names need to be easily identifiable I thinkabi_l1b
is more logical as a user friendly. I'm sure allowing the flexibility discussed in point 5 above will cause issues in the future, but I'm hoping it won't.Additionally, we are going to have a lot of headaches where files are describes by the "scheme" they adopt and not by the format that they are. For example "SCMI" files are NetCDF4 files that follow CF standards (sort of). The name "SCMI" stands for Sectorized Cloud Moisture Imagery which isn't even what it is used for anymore. So does the reader that reads ABI SCMI data call itself the
scmi_abi
reader or the nc_abi reader or some combination of "nc", "scmi", "l1b", "abi", blah blah blah.Examples
abi_l1b
hrit_ahi
hsd_ahi
viirs_sdr
viirs_edr_flood
The VIIRS EDR Flood Product
geocat
A reader for the output from the GeoCAT software. Could be one or more sensors and one or more processing levels.
nc_goes
Pre-GOES-16 satellite format
The text was updated successfully, but these errors were encountered: