Giter VIP home page Giter VIP logo

csv2shp's Introduction

项目流程, 请参照该教程顺序进行执行,注意数据集存放的位置


流程

csv2shp --> kriging --> raster2tiff --> single_year_temperature

  • 将代码中的路径等改好,创建好对应的文件夹,将csv数据放到合适的位置上。
  • 修改代码中涉及的路径,默认是在D:/VSCodeProjects/csv2shp目录下。
  • 执行create_gdb.py, 执行后在workspace下会生成gdb数据库文件
  • 执行batch_csv2shp.py, 该文件将csv文件转换为shp并将shp数据存到gdb数据库中。
  • 执行batch_kriging.py, 将所有shp进行插值, 插值后raster会存放在gdb数据库中。
  • 执行batch_raster2tiff.py, 将raster数据全部转换为tiff文件存到某个本地目录中。

将gdb中的raster保存为tiff图像

使用parallel处理会得到意料之外的结果

arcpy.management.CopyRaster(r"D:\VSCodeProjects\csv2shp\workspace\geodatabase.gdb\raster_te20041_4", r"C:\Users\Administrator\Documents\ArcGIS\Projects\MyProject4\raster_tif\aaa.tif", '', None, "3.4e+38", "NONE", "NONE", '', "NONE", "NONE", "TIFF", "NONE", "CURRENT_SLICE", "NO_TRANSPOSE")

conda装pytorch: conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

2024-6-12

  • 由于water的2019 12-12数据缺失,所以采用12-11的数据代替

csv2shp's People

Contributors

qkmc-rk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.