metno / MachineOcean-WP12

Machine Ocean Work Package 1 and 2 toolbox and documentation
1 stars 3 forks source link

Feat/meps #14

Closed jerabaul29 closed 4 years ago

jerabaul29 commented 4 years ago

@vkbo

jerabaul29 commented 4 years ago

A small note: for now the example queries a full field (for example, pressure at the surface) from the OpenDAP server, and then only once the full field has been obtained, performs the slicing locally. This means that more information than necessary is transmitted, and then some data are discarded. I have been trying to query only slices of interest from the server, but I need to dig a bit more on how such requests are performed, so will rather push an updated example later.

jerabaul29 commented 4 years ago

mmh, wait a second, I found a notation inconsistency in the helper functions, fixing it now.

jerabaul29 commented 4 years ago

Ok, the naming should be better now, ready from my side :) .

jerabaul29 commented 4 years ago

Ok, I finally found how to retrieve a slice of a single field, transmitting only needed data: this can be performed with netCDF4, but one has to formulate the custom URL request by hand.

jerabaul29 commented 4 years ago

@vkbo any comments on this? :)