Skip to content
New issue

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

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

Already on GitHub? # to your account

Should OPeNDAP URL be a required arguement? #290

Open
lhmarsden opened this issue Dec 5, 2023 · 2 comments
Open

Should OPeNDAP URL be a required arguement? #290

lhmarsden opened this issue Dec 5, 2023 · 2 comments

Comments

@lhmarsden
Copy link

lhmarsden commented Dec 5, 2023

If I want to create an MMD file from a local NetCDF file, should I have to provide an OPeNDAP URL?

nc2mmd -i tests/data/reference_nc.nc -o .
OPeNDAP url must be provided

I can force it to work by providing a fake URL, but this seems unneccessary.

nc2mmd -i tests/data/reference_nc.nc -u https://www.google.com -o .
@lhmarsden
Copy link
Author

Related to this, the README states that this should work and create an MMD file but it doesn't:

nc2mmd -i tests/data/reference_nc.nc -o .
OPeNDAP url must be provided

@mortenwh
Copy link
Collaborator

mortenwh commented Dec 6, 2023

We could maybe add a flag like "--no-opendap" to ensure that the user is aware that opendap access will then not be added to the MMD file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants