NOAA-PMEL / LAS

Live Access Server
https://ferret.pmel.noaa.gov/LAS/
The Unlicense
13 stars 5 forks source link

Improve the naming of the Download Data output files #1572

Open karlmsmith opened 6 years ago

karlmsmith commented 6 years ago

Reported by steven.c.hankin on 22 Nov 2013 18:26 UTC (see note about file extensions at end)

SOCAT V2 names the output files as

6AB77CD0373DB33E68680B1ABDC0300F_map_data.tsv
4D45B3FC5795AF9C486CB7BF3DDE1022_data_download.tsv

These names could be improved. They should o self-identify as SOCAT o collate (group together in a directory listing) o self-identify as single variable versus all variables o the length of the uniqueness string is excessive

e.g. names of the above might instead be

SOCAT_V3_all_variables_6AB77CD03.tsv
SOCAT_V3_fCO2_rec_4D45B3FC5.tsv

NOTE: we should harmonize .tab versus .tsv with Benjamin

Migrated-From: http://dunkel.pmel.noaa.gov/trac/las/ticket/1565

karlmsmith commented 6 years ago

Comment by @karlmsmith on 30 Jul 2014 03:12 UTC Note that Benjamin and I have always been using .tsv - note sure where .tab might have been used.

karlmsmith commented 6 years ago

Comment by @kevin-obrien on 6 Aug 2014 21:21 UTC

This seems like an LAS issue - ie, the proper definition of the output datafile symbol that is passed to ferret. Will reassign to Roland.

karlmsmith commented 6 years ago

Comment by @noaaroland on 6 Aug 2014 21:43 UTC We have had other discussions about this in years past. The unique ID is the hash of the request and is used for the cache key. I don't see how it could be shorter and still work.

I do not see an obvious way to use variable names in the file and have it work well for every case. Is fCO2_insitu_from_fCO2_water_equi_uatm_Pressure_equi_SOCAT_3_4D45B3FC5795AF9C486CB7BF3DDE1022.tsv better?

If this is a pressing issue, let's try to write down a few ground rules that we could try to implement. My inclination is to close this without fixing it. At least push to future release.