-
Notifications
You must be signed in to change notification settings - Fork 113
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
Problem writing the T-file #346
Comments
I confirm that changing those lines to
solves the issue ... Does it make sense to simply remove that output from the T-file or does anyone need it? |
Hi Felicien
I believe Miriam has been using the T-files it recently, so I’m cc’ing her here.
Best regards Paul.
======================================================
Paul Moorcroft
OEB Dept. Harvard University
26 Oxford St.
Cambridge MA 02138 USA
(617)-496-6744
***@***.******@***.***>
======================================================
From: femeunier ***@***.***>
Reply-To: EDmodel/ED2 ***@***.***>
Date: Monday, March 14, 2022 at 06:10
To: EDmodel/ED2 ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [EDmodel/ED2] Problem writing the T-file (Issue #346)
Hi all,
I have an issue running a simulation over an African tropical site. Clearly, the issue is related to the writing of the T-file, see error below. I am not familiar with that part of the code so I don't really know where to start ... Has anyone successfully produced T-output files recently? Could it be related with the latest version of ED2.2?
Here is my ED2IN file: ED2IN_YGB_tower.txt<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EDmodel_ED2_files_8243766_ED2IN-5FYGB-5Ftower.txt&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=HIF2WQSbPBlGkGM53jOEJX1SHdWJsdU7l5BQcjh_DxI&m=kknfoPTATtlVih7eW6b2jA_xUFQZz6M8BL1gi1W7AEHbsZZmqtkvGiSB2fo_dJAf&s=vyIB7-oHb4GPH9ubWsPbD7XfQnbdTlW0aUdJNDJzq_k&e=>
Total count in node 1 for grid 1 : POLYGONS= 1 SITES= 1 PATCHES= 26 COHORTS= 565
HDF5-DIAG: Error detected in HDF5 (1.12.1) thread 0:
#000: H5Dio.c line 291 in H5Dwrite(): can't write data
major: Dataset
minor: Write failed
#1: H5VLcallback.c line 2113 in H5VL_dataset_write(): dataset write failed
major: Virtual Object Layer
minor: Write failed
#2: H5VLcallback.c line 2080 in H5VL__dataset_write(): dataset write failed
major: Virtual Object Layer
minor: Write failed
#3: H5VLnative_dataset.c line 200 in H5VL__native_dataset_write(): could not get a validated dataspace from file_space_id
major: Invalid arguments to routine
minor: Bad value
#4: H5S.c line 266 in H5S_get_validated_dataspace(): selection + offset not within extent
major: Dataspace
minor: Out of range
Variable name:
SFCWATER_DEPTH
Global dimension: 1 26
17568 0 0
0
Chunk dimension: 1 26
1 0 0
0
Chunk offset: 0 0
17556 0 0
0
Count: 1 1
1 0 0
0
Stride: 1 1
1 0 0
0
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
…--------------------------------------------------------------
!!! FATAL ERROR !!!
--------------------------------------------------------------
---> File: h5_output.F90
---> Subroutine: h5_output
---> Reason: Could not write hyperslab into the dataset
--------------------------------------------------------------
ED execution halts (see previous error message)...
--------------------------------------------------------------
fatal_error
—
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EDmodel_ED2_issues_346&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=HIF2WQSbPBlGkGM53jOEJX1SHdWJsdU7l5BQcjh_DxI&m=kknfoPTATtlVih7eW6b2jA_xUFQZz6M8BL1gi1W7AEHbsZZmqtkvGiSB2fo_dJAf&s=jf8h8wnnXRtrZdkJwk_cSFHUccfwBWvSyodbq4qqG7c&e=>, or unsubscribe<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABND2JOSO2MPVQ67KTMWM63U74F7LANCNFSM5QVA3XHQ&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=HIF2WQSbPBlGkGM53jOEJX1SHdWJsdU7l5BQcjh_DxI&m=kknfoPTATtlVih7eW6b2jA_xUFQZz6M8BL1gi1W7AEHbsZZmqtkvGiSB2fo_dJAf&s=vSiFyNDTilAeO9OaTZMhNn6iudRTlzo5neni61j2i38&e=>.
Triage notifications on the go with GitHub Mobile for iOS<https://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=HIF2WQSbPBlGkGM53jOEJX1SHdWJsdU7l5BQcjh_DxI&m=kknfoPTATtlVih7eW6b2jA_xUFQZz6M8BL1gi1W7AEHbsZZmqtkvGiSB2fo_dJAf&s=bMi72YNgmmmUhZ7D4Pfl9-lQrKnRLcMXOCkYbUVU5Hg&e=> or Android<https://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=HIF2WQSbPBlGkGM53jOEJX1SHdWJsdU7l5BQcjh_DxI&m=kknfoPTATtlVih7eW6b2jA_xUFQZz6M8BL1gi1W7AEHbsZZmqtkvGiSB2fo_dJAf&s=iQvGOtzH9sQD_op7XM0Dz6EqELJCbQ_vlI97VUSw5-s&e=>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@pmoorcroft I'm tagging @mrjohnston because I am not sure cc'ing works with GitHub emails. |
@femeunier I am not familiar with -T- files, do they store more than one time per file? |
@femeunier @pmoorcroft @mpaiao I'm very sorry to disappoint, but I haven't been using the T-files & I can't be helpful here 👎 . ...except to say that tagging and cc'ing both work! |
@mrjohnston uses -I- files (Instantaneous). -T- is for tower flux data comparison? |
T files are indeed annual outputs files with fine timescale state variables (to ease comparison with fluxtower data). So including sfcwater_depth is definitely a bug. I will open a pull request to fix it. |
@femeunier why are you assuming the inclusion of sfcwater_depth in the T files is a bug? I'm pretty sure I put it there deliberately from the start (though "blame" doesn't work for a file this big, so I can't be sure). Snow depth changes very dynamically and without both snow and soil moisture you can't track the fast-time changes in the water cycle. It has also worked successfully for ~15 years -- no idea what's changed that is now causing an error. |
There is a polygon-level surface water (or snow) depth that is updated frequently: Having patch-level variables in the -T- files may cause the model to crash if the patch dynamics step doesn't happen in January (this is controlled by If we really want patch-level variables in the -T- files, then we should add code to ed_opspec.F90 to ensure that |
Thanks for the clarification @mpaiao! I agree that patch-level snow depth doesn't need to go in the -T- files if polygon-level is already there. |
Hi all,
I have an issue running a simulation over an African tropical site. Clearly, the issue is related to the writing of the T-file, see error message below. Has anyone successfully produced T-output files recently? Could it be related with the latest version of ED2.2?
Here is my ED2IN file: ED2IN_YGB_tower.txt
Could it be related to those lines in
ed_state_vars
file?Why is this specific state var also printed in the opti file? Is it really necessary?
The text was updated successfully, but these errors were encountered: