ivmfnal / metacat

Metadata Catalog
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

Units units units #28

Closed hschellman closed 1 year ago

hschellman commented 1 year ago

Hi, I was looking for a python call to query that would return a summary. looking at ui/metacat_query.py I notice that the units are 1024, while sam has always reported 1000.

I think this probably needs to be a parameter with a default of 1000 so we are consistent but can change.

so something like Bunits = 1000 with an option --powersof2 that switches it to 1024.

ivmfnal commented 1 year ago

So switching to 1000's, what do you want to see when the total size is 3GB ( = 3 1024 1024 * 1024 bytes ) ?

hschellman commented 1 year ago

I think we’ve been using 3 GB = 310001000*1000 -

I’m in a different meeting so can you bring this up with Steve?

On Jun 6, 2023, at 6:25 AM, Igor Mandrichenko @.**@.>> wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

So switching to 1000's, what do you want to see when the total size is 3GB ( = 3 1024 1024 bytes ) ?

— Reply to this email directly, view it on GitHubhttps://github.com/ivmfnal/metacat/issues/28#issuecomment-1578766079, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIA37DJ5XTNUDKLTHDYGKILXJ4VVXANCNFSM6AAAAAAY3SVCBE. You are receiving this because you authored the thread.Message ID: @.***>

ivmfnal commented 1 year ago

Done. Please upgrade the client to 3.33.2