-
Notifications
You must be signed in to change notification settings - Fork 22
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
No 'variable' in station '3.09' and min_depth/max_depth don't work #51
Comments
is there anybody who can help me? |
Hi, sorry for the late reply. The problem is that at station 3.09, soil moisture sensors are operating between 0 and 5 cm, while your query looks for sensors between 1 and 4 cm (which do not exist). |
you can see it by selecting the station and by listing all sensor names (the numbers in the name refer to the depths in meters). Please note that your dataset might look differently, I am using an older snapshot of ISMN here.
|
My suggestion is, to be less restrictive and allow sensors from e.g 0 to 5 cm instead of 1 to 4 cm |
Thanks for your reply @wpreimes! But I want to loop over all European stations. So I am not able to print all sensors out, then select the sensor one by one...besides, I am comparing to my model simulations of soil moisture at each layer ( |
Printing the names was only meant as an example to explain the problem for that specific station. Here are some suggestions:
|
Also, I'm not sure if there are even any sensors that measure SM e.g. between 1 and 4 cm depth in ISMN at all. Just to strengthen my point about making some compromises in your approach. @daberer might know that. |
Thanks! @wpreimes, let me try your suggestions first |
Hi, I think for the majority of soil moisture sensors at ISMN the sensor orientation is horizontal (depth_from = depth_to). I checked there are 271 soil moisture sensors within 1 - 4cm bracket if the margin-values (1 and 4cm) are included, mostly from the networks HiWATER_EHWSN and SMN-SDR. Often networks have a similar composition for all locations (same sensors in the same depths), but overall the depths are quite diverse as you noticed. |
Hi @wpreimes thanks for your comment, but there exists another problem. If I tried with:
I can get nothing. That's because in the metadata of
I have to write |
Hi, I just downloaded the ISMN data for HOBE and tried the 2 function calls you posted and I got the same IDs for both of them.
and you can access it e.g. via
maybe you want to re-generate the python metadata if you feel that something is wrong there (removing or renaming the folder |
Hi @wpreimes, thanks for your reply. By |
|
Thanks for your reply! @wpreimes but when I tried
Can you please help me with this? Thanks! |
I am trying to extract data from station 3.09, about the variable 'soil_moisture' from depth 0.01 to 0.04. By default I should write
command 1
like this:But this yields no element in
ids
. So I tried to print the metadata for3.09
byismn_data.read(1098, return_meta=True)
, and found there is indeed soil moisture in the metadata, but no values invariable
:You can see, right above
clay_fraction
, there is no value of keyvariable
. So I have to usecommand 2
but still get nothing in
ids
. I found that's because I setmin_depth
andmax_depth
. If I delete min_depth and max_depth incommand 2
, I can getids
as[1098, 1104]
. But I do want to extract values between 0.01 and 0.04. So is there anything wrong in the data on3.09
? And I am confused what's the difference bewteencommand 1
andcommand 2
?The text was updated successfully, but these errors were encountered: