Skip to content

DOC: small improvements to the netCDF docs #1169

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

Merged
merged 3 commits into from
Dec 24, 2016

Conversation

fmaussion
Copy link
Member

Partly addresses #768 (comment) and #1154, mostly by making the tone less defensive. I also added that we recommend the netCDF format for IO. (I think that the format is powerful enough for being useful in other disciplines than geosciences).

I agree with @rabernat that the current page title (Serialization and IO) could be changed to something more accessible, but I don't know how. Two possibilities, both quite long (it looks a bit ugly on RTD):

  • "Reading and writing xarray data structures on disk"
  • "Reading/writing xarray data structures"

Copy link
Member

@shoyer shoyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

Formats supported by Pandas
---------------------------

For more options, consider exporting your objects to pandas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call CSV and other tabular formats in particular.

netCDF because xarray was based on the netCDF data model, so netCDF files on disk
The recommended way to store xarray objects is `netCDF`__.
netCDF is a file format for fully self-described datasets that
is widely used and supported on almost all platforms. xarray is based on the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the sentiment here, but I think it might still be a good idea to mention at least that netCDF "originated in the geosciences".

is widely used in the geosciences and supported on almost all platforms. We use
netCDF because xarray was based on the netCDF data model, so netCDF files on disk
The recommended way to store xarray objects is `netCDF`__.
netCDF is a file format for fully self-described datasets that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add binary file format

@fmaussion
Copy link
Member Author

Thanks! Updated

Copy link
Member

@shoyer shoyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great now, thanks!

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