This wiki explains the basic steps to set up Python and dependent software packages in order to read NEX-DCP30 data, which are in the netCDF format, on AWS.

[Prerequisites]
1. This wiki assumes that the user has basic knowledge on how to launch an Amazon EC2 instance and mount OpenNEX Landsat data from the Amazon Public S3 Buckets, which are described in detail by Mount OpenNEX Amazon Public S3 Buckets on an Amazon EC2 Instance
2. This wiki uses an EC2 instance built with an Amazon Linux AMI as an example. Users using other Linux systems (e.g., Ubuntu) should be able to follow the steps though the specific commands may be different.

In this wiki, it is assumed that the DCP30 data is mounted at "/mnt/s3-nexdcp30".

The script does a very easy job: open a file, read the data as an array, calculate their mean, and save it into a text file. The use of NetCDF4, described by the comments, is also very straightforward. More information about the NetCDF4 data model and APIs can be found at the NetCDF Tutorials.