Thanks a lot for your videos ! May I ask : how could I get latitudes & longitudes vectors (only) from ncdump ? I work with WRF files and when I try ncdump -v XLAT, I get a huge amount of redundant data and have to scroll back & forth from start to beginning to determine min and max latitudes. I'm sure there's a better wy to only get the vectors containing all lats & lons ? Thanks.
yes, degrees_east is the standard units string, but you can specify longitude as -180 to 180 or 0 to 360. Cute trick: if you have a file (we can assume global wlog) with longitude values of -180 to 180, you can convert it easily to 0-360 with cdo sellonlatbox,0,360,-90,90 in.nc out.nc - Hope you found the videos useful, more on the way, don't forget to subscribe to get notification when they arrive!😉
Hi, I love your videos. Could you maybe tell me in which video you show how to transform the t2m short variable into a float, using the scale factor and offset?
Hi, super helpful videos. Using your tutorials to help me with my dissertation on my environmental science degree. Is Java a prerequisite to run the ncdump on the terminal? I tried to run it and got a 'command not found message' then ran the line 'sudo apt install netcdf-bin' upon which I got a message reading 'unable to locate java runtime'. just wondering if this would be why the function isn't working?
For missing value, what does it mean if instead of s there is f? example: float sst(time, lat, lon) ; sst:long_name = "Sea surface temperature" ; sst:units = "K" ; sst:_FillValue = -32767.f ; sst:missing_value = -32767.f ;
Hello mr. Tompkins, I've installed netcdf4, numpy, and Cython in Python, however, I get the message "ncdump is not defined" or, in cmd/Ubuntu, "ncdump is not recognized/found". Is there any prerequisite I'm missing? Thanks again!
Thanks a lot for your videos ! May I ask : how could I get latitudes & longitudes vectors (only) from ncdump ? I work with WRF files and when I try ncdump -v XLAT, I get a huge amount of redundant data and have to scroll back & forth from start to beginning to determine min and max latitudes.
I'm sure there's a better wy to only get the vectors containing all lats & lons ? Thanks.
8:34 so if I have data for west coordinates will I still get degrees_east?
yes, degrees_east is the standard units string, but you can specify longitude as -180 to 180 or 0 to 360. Cute trick: if you have a file (we can assume global wlog) with longitude values of -180 to 180, you can convert it easily to 0-360 with cdo sellonlatbox,0,360,-90,90 in.nc out.nc - Hope you found the videos useful, more on the way, don't forget to subscribe to get notification when they arrive!😉
Hi, I love your videos. Could you maybe tell me in which video you show how to transform the t2m short variable into a float, using the scale factor and offset?
Thanks for the great feedback. To do that you can use the copy command with float output: cdo -b f32 copy in.nc out.nc
Hi, super helpful videos. Using your tutorials to help me with my dissertation on my environmental science degree. Is Java a prerequisite to run the ncdump on the terminal? I tried to run it and got a 'command not found message' then ran the line 'sudo apt install netcdf-bin' upon which I got a message reading 'unable to locate java runtime'. just wondering if this would be why the function isn't working?
hmmm, I didn't think that was necessary, can I ask which platform you are on?
For missing value, what does it mean if instead of s there is f?
example: float sst(time, lat, lon) ;
sst:long_name = "Sea surface temperature" ;
sst:units = "K" ;
sst:_FillValue = -32767.f ;
sst:missing_value = -32767.f ;
Hello mr. Tompkins,
I've installed netcdf4, numpy, and Cython in Python, however, I get the message "ncdump is not defined" or, in cmd/Ubuntu, "ncdump is not recognized/found". Is there any prerequisite I'm missing?
Thanks again!
Did you try "sudo apt install netcdf-bin"? It is also worth doing "sudo apt install libnetcdf-dev" - let me know if it sorts your problems :-)
@@climateunboxed Yes! I tried both of them, but I get the message "unable to locate package (netcdf-bin or libnetcdf-dev)"
@@Alejvm97 are you using Ubuntu installed under windows as a subsystem?
@@climateunboxed Yes but I didn't use "sudo apt update" and then "sudo apt upgrade". The commands work now, finally I can follow the tutorial :D haha