[Landsat-pds] S3 Usage?

Sundwall, Jed jsundwal at amazon.com
Tue Feb 10 15:08:29 PST 2015

The easiest way I’ve found is to run this command with the AWS CLI tool:

aws s3api list-objects --bucket landsat-pds --output json --query "[sum(Contents[].Size), length(Contents[])]”

It takes a while to run, but this is what i just got for # of bytes: 21,436,996,283,772, which is 21.44TB.

Based on 41 days of acquisition, it looks like we’re doing .52TB per day, which would come out to 382TB over two years.

Please let me know if you see anything wrong with my calculations here.


On Feb 10, 2015, at 1:58 PM, Frank Warmerdam <warmerdam at pobox.com<mailto:warmerdam at pobox.com>> wrote:

Folks - especially Amazon folks,

Is there an relatively easy way of finding out how much space is used now in our landsat-pds S3 bucket?  I was wanting to figure out if data volumes matched our expected growth projections, but came to the conclusion that the AWS S3 console does not give me an obvious way to find out total bytes used.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com<mailto:warmerdam at pobox.com>
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
Landsat-pds mailing list
Landsat-pds at lists.osgeo.org<mailto:Landsat-pds at lists.osgeo.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/landsat-pds/attachments/20150210/edc44217/attachment.html>

More information about the Landsat-pds mailing list