Тёмный

How to open a NetCDF file in R programming 

Luke Data Manager
Подписаться 892
Просмотров 689
50% 1

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@sadrilkhan5094
@sadrilkhan5094 2 месяца назад
Hey, great video, thanks, I have a question. While selecting the date, you picked one, what if I want a range? Like from 1950 to 1960?
@LukeDataManager
@LukeDataManager 2 месяца назад
In this code anom
@mazyarmohammadi1575
@mazyarmohammadi1575 4 месяца назад
good gob
@LukeDataManager
@LukeDataManager 4 месяца назад
Thanks!
@haraldurkarlsson1147
@haraldurkarlsson1147 3 месяца назад
I have also worked with the ncdf4 package. It appears to be more complex and moreover the files generated by the two pacakges (ncdf4 and RNetCDF) are different. Thus the functions in one do not work on the other. I find that a bit surprising and not in spirit of the netcdf project. Python seems to have a lot more programs for .nc files (even R does better on the maps).
@LukeDataManager
@LukeDataManager 3 месяца назад
Do you have an example of a netcdf file created with either RNetCDF or ncdf4 that you can't open and process with the other library? In my experience, the files created by either program are interoperable and usable by the other.
@haraldurkarlsson1147
@haraldurkarlsson1147 3 месяца назад
I have downloaded climate data twice - some time ago and yesterday. With the older file I used ncdf4 and with the more recent one RNetCDF. For the first I ran: gistemp
@haraldurkarlsson1147
@haraldurkarlsson1147 3 месяца назад
Can you explain the values that you entered for the temperature anomaly a little bit better? What are the values in the start and count vectors? What does the value 700 for time signify? It is time slice number 700? It is days since 1800? The documentation that comes with NetCDF is far from insightful. Thanks.
@LukeDataManager
@LukeDataManager 3 месяца назад
700 in this case is the 700th element in the list. Alone this tells you nothing about what the time is. The value of the 700th element along with the units can be used to calculate the time.
@LukeDataManager
@LukeDataManager 3 месяца назад
NA means all values. 1 means the first value (in start) or only one value (in count)
@haraldurkarlsson1147
@haraldurkarlsson1147 3 месяца назад
@@LukeDataManager Somewhat confusing since NA has a different meaning in R.
@LukeDataManager
@LukeDataManager 3 месяца назад
@haraldurkarlsson1147 NA stands for not available. I think there is some consistency with how it is used here. NA as in don't include a start or count for that dimension.
Далее
How to open a NetCDF file (NetCDF in Python #01)
18:11
Просмотров 4,9 тыс.
How to create a NetCDF file (NetCDF in Python #04)
45:37
Clean your data with R.   R programming for beginners.
27:31