<s> """<STR_LIT>""" <EOL> from datasets . decorators import netcdf <EOL> from datetime import timedelta <EOL> import datasets <EOL> table = "<STR_LIT>" <EOL> @ netcdf <EOL> def fetch ( dbname , dt , bbox ) : <EOL> """<STR_LIT>""" <EOL> url = "<STR_LIT>" <EOL> varname = "<STR_LIT>" <EOL> return url , varname , bbox , dt <EOL> def download ( dbname , dts , bbox = None ) : <EOL> res = <NUM_LIT> <EOL> for dt in [ dts [ <NUM_LIT:0> ] + timedelta ( tt ) for tt in range ( ( dts [ <NUM_LIT:1> ] - dts [ <NUM_LIT:0> ] ) . days + <NUM_LIT:1> ) ] : <EOL> data , lat , lon , t = fetch ( dbname , dt , bbox ) <EOL> datasets . ingest ( dbname , table , data , lat , lon , res , t ) <EOL> def dates ( dbname ) : <EOL> dts = datasets . dates ( dbname , table ) <EOL> return dts </s>
