Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store projection properties in the .xml file #13

Open
vic1309 opened this issue Feb 11, 2021 · 3 comments
Open

Store projection properties in the .xml file #13

vic1309 opened this issue Feb 11, 2021 · 3 comments

Comments

@vic1309
Copy link

vic1309 commented Feb 11, 2021

Dear all

I would like to know if there is a way to store projection properties, or proj4, in the .xml file. I can see that the projection itself is saved, but not its metadata.

Cheers,
Victor

@clstoulouse
Copy link
Owner

Hi @vic1309 ,

Thank for your interest in Motu :-)
"projection" : is it about the projection of the downloaded file ? or about the netcdf file storage ?
Could you specify an example of what you would like to get, an example of metadata you would like to get ?

Regards.

@vic1309
Copy link
Author

vic1309 commented Feb 11, 2021

Thank you for the great job!!

Is it about the projection of the downloaded file. For instance, I'm interested in the service ARCTIC_ANALYSISFORECAST_PHY_ICE_002_011-TDS, product cmems_mod_arc_phy_anfc_nextsim_hm. When I download the .nc file of this dataset, I can see that it contains the variable stereographic and such a variable contains the following attributes:

latitude_of_projection_origin:          90.0
longitude_of_projection_origin:         -45.0
straight_vertical_longitude_from_pole:  -45.0
semi_major_axis:                        6378273.0
semi_minor_axis:                        6378273.0
scale_factor_at_projection_origin:      1.0
grid_mapping_name:                      polar_stereographic
false_northing:                         0.0
false_easting:                          0.0
proj4:                                  +proj=stere +lat_0=90 +lat_ts=90 ...
_CoordinateTransformType:               Projection
_CoordinateAxisTypes:                   GeoX GeoY

I would like to know if there is a way to save these attributes in the .xml file.

Cheers,
Vic

@clstoulouse
Copy link
Owner

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

No branches or pull requests

2 participants