Geojson provides several advantages compared to shapefiles:

  1. lightweight, text-based, and easily readable format that can be easily shared, transmitted and used on the web.

  2. It supports a wider range of data types compared to shapefile and can be used across multiple platforms and programming languages.

  3. Additionally, geojson files have smaller file sizes, making them easier to store and process. These benefits make geojson a popular choice for geographic information data storage and exchange.

Note: this post was arranged by ChatGPT

mehr

Making your own Python package public available

In this post, I will note the general procedures for packaging my own Python projects/functions and upload to both Github and also Python Package Index (PyPI). As an example, I will simply build an Python package called PalAniSh (Palette of Animation of Shanghai) which contains color palette on those classical animations that Shanghai Animation Film Studio produced.

mehr

In this post, I will cover a series of codes that how to make maps from scratch not using Python but more interactive tools.
Choropleth (等值区图)
Choropleth (等值区图)

mehr

The National Oceanic and Atmospheric Administration (NOAA) Integrated Surface Database (ISD) provides one of the richest sources of historical weather data consisting of hourly and synpoptic observation. This blog will introuce the simple way to retrieve and process the raw data into Python dataframe.

mehr

在国外新购置了一台PC,性能比从国内带来的Mac笔记本要好,也可以继续玩Steam上的游戏。决定将个人学习工作环境迁移至Windows系统。在此记录相关配置步骤,以便未来之需。

mehr

Xarray provides pandas-level convenience for working with ultidimensional data. Xarray has two fundamental data structure: a DataArray, which holds a single multi-dimensional variable and its coordinates;
a Dataset, which holds multiple variables that potentially share the same coordinates.

Moreover, a DataArray has four attributes:

  • values: a numpy.ndarray holding the array’s values (矩阵数值,例如地表温度具体数值)
  • dims: dimension names for each axis (e.g., (‘x’, ‘y’, ‘z’)) (维度名称,如经度、纬度、垂直分层、时间等)
  • coords: a dict-like container of arrays (coordinates) that label each * point (e.g., 1-dimensional arrays of numbers, datetime objects or strings) (各维度坐标体系,如时间序列)
  • attrs: an OrderedDict to hold arbitrary metadata (attributes) (对各属性的描述)

mehr

提要:定义嵌套网格是运行WRF模型的重要工作。本文基于Python 3.7,在Salem工具包基础上加以改进,结合Cartopy对中国国界线进行替换,同时实现修改默认底图。

mehr

提要:Altair是强大的可视化库,其基于Vega-lite,可快速生成简洁、美观、可互动的统计图形。本文介绍个人相关学习经历,具体包括:(1)数据载入与基本图形绘制; (2)基于web端呈现

mehr

部分互联网资料仅提供在线预览,无法直接下载。若预览系统设计欠佳,或限于网速内容加载过慢,都会对阅读体验造成严重影响。在此分别以国家自然基金研究报告和学位论文为例,介绍两种不同的下载合成方法,供有需要的老师同学们参考。欢迎大家提出宝贵意见。

mehr

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×