Skip to content

Added datemodified property#28

Open
ev4debug wants to merge 1 commit into
ioos:mainfrom
ev4debug:master
Open

Added datemodified property#28
ev4debug wants to merge 1 commit into
ioos:mainfrom
ev4debug:master

Conversation

@ev4debug
Copy link
Copy Markdown

Since I need the date modified in order to download updated nc files from HTTPServer service, I've added this property

@ninsbl
Copy link
Copy Markdown

ninsbl commented Oct 1, 2021

Please see also: #29

I guess the netcdf dataset should be closed after getting the modification date. In any case, for performance it would be likely better to extract properties from the dataset itself in one go, so size and date are fetched in the same operation.

And maybe reading metadata from dataset itself (in contrast to reading it from the catalog) should probably only happen if users have a real need for those metadata and explicitly ask for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants