-
Notifications
You must be signed in to change notification settings - Fork 5
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
Append mode #36
Comments
I am looking at I am not aware of the problem with append-mode. I will try to create a test to reproduce this. If you can provide some of your code using the Thanks! |
After registering all variables and axes I am looping over all time steps to write data of each variable however the error also occurs when not looping. This works well for all variables (for now) but not in append mode for variables with zfactors. In append mode, the first |
I will get to it this week, and let you know by Friday. Thanks for the code.... |
Hi Denis,
and
In
But how can it be there already if mkstemp is used? And how can I use NetCDF APPEND_MODE then? How can I pass the chunk to append on? |
It seems that this functionality was stripped when converting to 3.0.0. I will work on it today and will create a nightly version for you to try. |
I added back this functionality, you can give it a try using the following conda file. https://anaconda.org/PCMDI/cmor/files?version=2017.09.22.3.2.8&channel=nightly You can install the latest version using this command.
I also created a test for it. https://github.com/PCMDI/cmor/blob/master/Test/test_python_appending.py |
@wachsylon did you give it a try? Thanks! |
Thanks for the enhancement! Sorry for the late answer. |
@dnadeau4 It looks like @wachsylon was satisfied by these changes. Should we close this issue. In the API documentation, https://cmor.llnl.gov/mydoc_cmor3_api/, there is this sentence for the
Should that be CMOR3 instead? |
@mauzey1 you can close it. Charles removed me from the PCMDI group due to the private repository authentication. |
Hi *,
first, thanks for your great work. I hope this is the right place for my questions.
With CMOR3, the cmor_write call changes in the C-version. Now, no file_suffix can be transferred as a parameter. How does CMOR then find the chunk file in append-mode in CMOR3? Could you please update the doc for cmor_write? It would be a great help, thanks a lot.
Another problem concerning the append-mode happens in CMOR-2.9.2 and some earlier versions, however I could not test it in CMOR3 yet: An error occurred with variables having a hybrid vertical axis. The auxiliary variable ps0 needs to be written with the parameter store_with in this case. However, the time axis is at least wrong or an error occurs when applying CMOR in append mode for these variables with hybrid vertical axes.
Are you aware of or can you reproduce the problem i tried to describe? ^^
The append mode is really helpful in the operational work and we would like to use it also for these kind of variables. So i am grateful for your help.
I work at the DKRZ and develop a CDO operator which uses the CMOR library.
So best regards from Germany,
Fabian Wachsmann
The text was updated successfully, but these errors were encountered: