The link for global surface temperature is giving an error. Is there a way to download as nc file rather than using URL?
@LukeDataManager
4 ай бұрын
Seems to me that NOAA are having some issue with their THREDDS server right now. Try here: www.ncei.noaa.gov/data/noaa-global-surface-temperature/v6/access/gridded/ And you should be able to download v6 of the data in a NetCDF file
@anishratnashakya3964
4 ай бұрын
@@LukeDataManager When I reach this part ''' desired_date = '2022-12-01' data_for_desired_date = xrds.sel(time=desired_date) print(data_for_desired_date) ''' It gives TypeError: get_loc() got an unexpected keyword argument 'method' Did I miss to import some libraries?
@anishratnashakya3964
4 ай бұрын
It worked in Colab. I might have missed something in local device.
@RohanAnand-fy5ic
4 ай бұрын
hey, what is pressure and depth there, is it a dtype or what?
@LukeDataManager
4 ай бұрын
I am not entirely sure what you mean, and pressure is not provided in either of the datasets. When looking at the variables, you might see for example CHLOROPHYLL_A_TOTAL (DEPTH) float64 .... In this example, CHLOROPHYLL_A_TOTAL is the variable name, DEPTH is the name of the dimension, and float64 is the format of the values in the variable.
@RohanAnand-fy5ic
4 ай бұрын
@@LukeDataManager ohh..yes I was talking about (DEPTH), and I got it now that the data within the file is organized and indexed along this dimension. Thanks!
Пікірлер: 8