|
|
|
@ -19,14 +19,16 @@ product_code = 'ww3.aus_4m'
|
|
|
|
|
var_names = ['hs', 'dp', 'fp']
|
|
|
|
|
|
|
|
|
|
# Set time period
|
|
|
|
|
start_date = '1980-01-01'
|
|
|
|
|
end_date = '2019-01-01'
|
|
|
|
|
start_date = '1980-01'
|
|
|
|
|
end_date = '1980-12'
|
|
|
|
|
|
|
|
|
|
url = ('http://data-cbr.csiro.au/thredds/dodsC/catch_all/'
|
|
|
|
|
'CMAR_CAWCR-Wave_archive/CAWCR_Wave_Hindcast_aggregate/gridded/')
|
|
|
|
|
|
|
|
|
|
# Generate list of dates
|
|
|
|
|
dates = pd.date_range(start_date, end_date, freq='M')
|
|
|
|
|
t0 = pd.to_datetime(start_date)
|
|
|
|
|
t1 = pd.to_datetime(end_date) + pd.DateOffset(months=1)
|
|
|
|
|
dates = pd.date_range(t0, t1, freq='M')
|
|
|
|
|
|
|
|
|
|
# Create output dataframe
|
|
|
|
|
master = pd.DataFrame()
|
|
|
|
|