{"action":"created","issue":{"url":"https://api.github.com/repos/PecanProject/pecan/issues/319","labels_url":"https://api.github.com/repos/PecanProject/pecan/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/PecanProject/pecan/issues/319/comments","events_url":"https://api.github.com/repos/PecanProject/pecan/issues/319/events","html_url":"https://github.com/PecanProject/pecan/issues/319","id":53864206,"number":319,"title":"how do I load site data to the Pecan server","user":{"login":"fabeuw","id":10210185,"avatar_url":"https://avatars.githubusercontent.com/u/10210185?v=3","gravatar_id":"","url":"https://api.github.com/users/fabeuw","html_url":"https://github.com/fabeuw","followers_url":"https://api.github.com/users/fabeuw/followers","following_url":"https://api.github.com/users/fabeuw/following{/other_user}","gists_url":"https://api.github.com/users/fabeuw/gists{/gist_id}","starred_url":"https://api.github.com/users/fabeuw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabeuw/subscriptions","organizations_url":"https://api.github.com/users/fabeuw/orgs","repos_url":"https://api.github.com/users/fabeuw/repos","events_url":"https://api.github.com/users/fabeuw/events{/privacy}","received_events_url":"https://api.github.com/users/fabeuw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-09T12:44:10Z","updated_at":"2015-01-29T18:00:25Z","closed_at":null,"body":"I am trying to add met data to the pecan server via the BETY website following these instructions https://github.com/PecanProject/pecan/wiki/How-to-insert-new-Input-data.\r\n\r\nHowever I am not able to upload my own .nc files because it seems I am restricted to whatever it is in one of the listed machines.\r\n\r\nHow do I upload some of these .nc files I have taken from http://hydrology.princeton.edu/data/pgf/1.0deg/3hourly/ ? Also should I crop these global files to adjust the region where I want to run ED?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/PecanProject/pecan/issues/comments/72072494","html_url":"https://github.com/PecanProject/pecan/issues/319#issuecomment-72072494","issue_url":"https://api.github.com/repos/PecanProject/pecan/issues/319","id":72072494,"user":{"login":"mdietze","id":3081466,"avatar_url":"https://avatars.githubusercontent.com/u/3081466?v=3","gravatar_id":"","url":"https://api.github.com/users/mdietze","html_url":"https://github.com/mdietze","followers_url":"https://api.github.com/users/mdietze/followers","following_url":"https://api.github.com/users/mdietze/following{/other_user}","gists_url":"https://api.github.com/users/mdietze/gists{/gist_id}","starred_url":"https://api.github.com/users/mdietze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdietze/subscriptions","organizations_url":"https://api.github.com/users/mdietze/orgs","repos_url":"https://api.github.com/users/mdietze/repos","events_url":"https://api.github.com/users/mdietze/events{/privacy}","received_events_url":"https://api.github.com/users/mdietze/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T18:00:25Z","updated_at":"2015-01-29T18:00:25Z","body":"There's a lot of questions in there so I'll try and break them down.\n\n1) There's a few things in there that are about ED2, not PEcAn. For example, if you are modifying ED2IN files by hand to set file paths to input files, you are no longer using PEcAn and you might get additional feedback by posting issues to https://github.com/EDmodel/ED2/\n\n2) The version of the ED2IN file you are using HAS TO MATCH the version of ED2 that you are running (2.1 is not sufficient since ~7 years of development has occurred under that release number). The bad namelist error was due to a mismatch. Unhelpfully, when you get that error it is most often the variable before or after the one that threw the error which is the one that's actually wrong.\n\n3) If you've moved ED meteorology files from elsewhere then you have to set the path to the .h5 files within the ED_MET_DRIVER_HEADER file. I personally think this is silly, since there's no info in the ED_MET_DRIVER_HEADER that we couldn't put in the HDF5 files themselves, but that's how it works right now.\n\n4) The geographic info in the ED_MET_DRIVER_HEADER and in the file names themselves have to match\n\n5) If you are running ED2 outside of PEcAn then the met files have to have an .h5 extension. Due to a convergence in netCDF4 and HDF5 format it is in theory possible to just rename .nc files to .h5, however internally in those files the met has to have the CORRECT VARIABLE NAMES AND UNITS.  Alternatively, if the meteorology is in netCDF CF (PEcAn's standard) you can use met2model.ED2 to convert the met into ED2 format. This code will also write the ED_MET_DRIVER_HEADER"}}