ideas-lab-nus / epwshiftr

Create future EnergyPlus Weather files using CMIP6 data
https://ideas-lab-nus.github.io/epwshiftr/
Other
30 stars 7 forks source link

Use `offset` for query result pagination #65

Closed hongyuanjia closed 1 year ago

hongyuanjia commented 1 year ago

Currently, init_cmip6_index() only returns the first 10,000 records.

https://github.com/ideas-lab-nus/epwshiftr/blob/09827d404f474712060d59bfa94b7ccec0a8a724/R/esgf.R#L446-L452

It is enough for most use cases. But it will still be good to implement pagination.