euroargodev / BlueCloud

Working space for BlueCloud demontrator 3 - Lops Task
0 stars 1 forks source link

spatial_distribution() not working if ds has no time dimension #28

Closed quai20 closed 4 years ago

quai20 commented 4 years ago

I did some test with SODA dataset ('/home5/pharos/REFERENCE_DATA/OCEAN_REP/SODA/assim/SODA_2.2.4/SODA_2.2.4_200801.cdf'). Particularity, it doesn't have a time dimension in it. The spatial_distribution plot always expect a time in the dataset. Even if in the BC demonstrator, all dataset will have it, I think it would be nice to have this possibility.

AndreaGarciaJuan commented 4 years ago

I fixed the probleme in fig-subplots branch. SODA dataset is working: Capture d'écran de 2020-09-23 15-54-51

But it is necessary to change longitude from 0-360 to -180/+180 to obtain a good plot