You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The temperature gridded product code (after #809) seems to work fine and it's reasonably clear what it does. However, I think it could be made clearer, simpler and possibly faster/more efficient by making use of some existing packages:
Use numpy arrays for all data handling and avoid looping arrays or through lists of arrays.
Better still, use the xarray package to handle both netCDF i/o and array arithmetic. E.g. it has methods that could replace some of the binning code.
Use boto3 to get files from S3 directly, rather than via HTTP.
Don't know if we'll ever have time to work on these, just wanted to make a note while I thought of it. To an extent this also applies to the burst-averaging code.
The text was updated successfully, but these errors were encountered:
I'm pretty sure using boto3 means you would have to develop the code and test it only on a authorised machine (@lwgordonimos ?) . Also If I'm correct, it does mean you cannot share it with people outside of the IMOS AODN organisation
Not necessarily. If it relates to a public bucket, it is possible to still access it anonymously, and get the benefit of nice efficient S3 interaction . Refer: https://github.com/aodn/utilities/blob/master/jenkins/get_latest_artifact.py#L19 (note: that script is overly condensed so disregard the rest but the key point is the UNSIGNED requests to S3).
The temperature gridded product code (after #809) seems to work fine and it's reasonably clear what it does. However, I think it could be made clearer, simpler and possibly faster/more efficient by making use of some existing packages:
Don't know if we'll ever have time to work on these, just wanted to make a note while I thought of it. To an extent this also applies to the burst-averaging code.
The text was updated successfully, but these errors were encountered: