-
Notifications
You must be signed in to change notification settings - Fork 28
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
NETCDF3 format not supported for ANY_POINT feature type #269
Comments
same question as me |
As of version 5.x, the TDS is only able to write CF-compliant datasets, which means it cannot write a subset of multiple feature types to a netcdf file. From the CF site: "the features contained within a collection must always be of the same type; and all the collections in a CF file must be of the same feature type" I believe the request in question is attempting to subset both a timeseries feature and a timeseries profile feature at once, which the TDS can't do. The available workarounds are |
I tried requesting the csv file directly via a siphon request, but this causes lins overlap. Could you give me some ideas to get following data together? Bay the way, how can I get the variable list in the server? error: query.accept('csv') |
You can see the This is also accessible off the NCSS helper in siphon as |
Thanks so much for your advice, I will have a try |
So while I think the original query will always have problems due to a mix of surface and profile variables, changing to request Also, it would be really good to improve the error message to something like: "Data queries that request a mix of timeseries and timeseries_profile types are not supported by netCDF returns. Make sure you don't ask for a combination of single-level and multi-level variables on your netcdf point request." |
I am able to use the example in that link but I am getting the same error again. The issue is for some variables ( the server returns the forecast but for anything related to clouds it returns an error. For example I checked and all the cloud variables that I need and they are in the variable list but I am receiving error for them: ncssvars = list(ncss.variables)
print('Total_cloud_cover_entire_atmosphere_Mixed_intervals_Average' in ncssvars)
print('Low_cloud_cover_low_cloud_Mixed_intervals_Average' in ncssvars)
print('Total_cloud_cover_convective_cloud' in ncssvars)
print('Downward_Short-Wave_Radiation_Flux_surface_Mixed_intervals_Average' in ncssvars)
# Output
True
True
True
True |
Right, try doing the request for |
Yes, if I break the query into many sub-queries that works. It took me a little time to find out which variables can be queried together without raising an error, now my code is like this: query1.variables('Total_cloud_cover_entire_atmosphere_Mixed_intervals_Average', 'Medium_cloud_cover_middle_cloud_Mixed_intervals_Average', 'High_cloud_cover_high_cloud_Mixed_intervals_Average', 'Total_cloud_cover_boundary_layer_cloud_Mixed_intervals_Average','Low_cloud_cover_low_cloud_Mixed_intervals_Average','Downward_Short-Wave_Radiation_Flux_surface_Mixed_intervals_Average')
query2.variables('Total_cloud_cover_convective_cloud')
query3.variables('Temperature_surface', 'Wind_speed_gust_surface')
query4.variables('u-component_of_wind_isobaric', 'v-component_of_wind_isobaric') |
I am using the pvlib library to get the GFS data but I am getting below error:
Based on the issue at pvlib/pvlib-python#1522 this endpoint was working until a few days ago, was there any change in the API? How can I solve this issue?
The text was updated successfully, but these errors were encountered: